Files
step3/scripts/ui
hz eb9e018339 Fix non-square consent checkbox with a dedicated Panel square
Root cause: CheckBox/Button reserves vertical space for a text
baseline even with an empty string, so no amount of custom_minimum_size
or stylebox content-margin tweaking produced a true square - it just
came out close-but-not-quite in some layouts and visibly elongated in
others.

Decoupled the visual square from the CheckBox entirely: a plain Panel
(exactly 20x20, toggled by direct click) now draws the border/fill,
while a real (invisible) CheckBox still holds .button_pressed for the
rest of the code to read. Also added left padding on the row and
vertically centered both the square and the consent text within it.

Verified with a direct size dump (20x20 in both checked/unchecked
states, where it previously measured non-square) and rendered
screenshots of both states.
2026-07-25 10:45:45 -05:00
..
2026-07-19 21:29:24 -05:00
2026-07-23 04:43:02 -05:00
2026-07-23 23:14:38 -05:00
2026-07-18 23:45:38 -05:00
2026-07-19 22:26:33 -05:00
2026-07-11 02:05:43 -05:00
2026-07-25 00:30:06 -05:00
2026-07-18 22:22:29 -05:00
2026-07-18 22:22:29 -05:00
2026-07-18 22:22:29 -05:00
2026-07-18 22:22:29 -05:00
2026-07-11 02:05:43 -05:00
2026-07-11 02:05:43 -05:00