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-15 20:55:13 -05:00
2026-07-15 20:55:13 -05:00
2026-07-10 14:05:57 -05:00
2026-07-09 20:50:33 -05:00
2026-07-19 13:39:15 -05:00
2026-07-18 23:07:22 -05:00
2026-07-23 05:19:12 -05:00
2026-07-23 05:19:12 -05:00
2026-07-19 21:29:24 -05:00
2026-07-15 10:17:53 -05:00
2026-07-23 04:43:02 -05:00
2026-07-15 10:17:53 -05:00
2026-07-23 23:14:38 -05:00
2026-07-15 10:17:53 -05:00
2026-07-15 10:43:03 -05:00
2026-07-15 10:43:03 -05:00
2026-07-23 03:59:02 -05:00
2026-07-15 10:17:53 -05:00
2026-07-21 23:20:14 -05:00
2026-07-22 00:43:52 -05:00
2026-07-18 23:45:38 -05:00
2026-07-18 23:45:38 -05:00
2026-07-18 23:45:38 -05:00
2026-07-18 23:45:38 -05:00
2026-07-25 00:30:06 -05:00
2026-07-18 23:45:38 -05:00
2026-07-19 22:26:33 -05:00
2026-07-19 22:26:33 -05:00
2026-07-20 16:42:17 -05:00
2026-07-19 22:26:33 -05:00
2026-07-23 16:50:53 -05:00
2026-07-23 12:33:23 -05:00
2026-07-21 15:08:52 -05:00
2026-07-22 00:43:52 -05:00
2026-07-23 14:30:48 -05:00
2026-07-22 00:43:52 -05:00
2026-07-22 15:52:19 -05:00
2026-07-22 00:43:52 -05:00
2026-07-23 14:30:48 -05:00
2026-07-22 00:43:52 -05:00
2026-07-20 02:16:20 -05:00
2026-07-20 02:16:20 -05:00
2026-07-20 02:16:20 -05:00
2026-07-20 02:16:20 -05:00
2026-07-20 02:16:20 -05:00
2026-07-20 02:16:20 -05:00
2026-07-25 10:45:45 -05:00
2026-07-09 20:50:33 -05:00
2026-07-11 02:05:43 -05:00
2026-07-09 20:50:33 -05:00
2026-07-25 00:30:06 -05:00
2026-07-09 20:50:33 -05:00
2026-07-24 23:12:47 -05:00
2026-07-16 00:22:22 -05:00
2026-07-23 12:33:23 -05:00
2026-07-16 02:37:37 -05:00
2026-07-18 22:22:29 -05:00
2026-07-18 22:22:29 -05:00
2026-07-18 22:25:08 -05:00
2026-07-18 22:22:29 -05:00
2026-07-19 13:39:15 -05:00
2026-07-18 22:22:29 -05:00
2026-07-20 22:02:50 -05:00
2026-07-09 20:50:33 -05:00
2026-07-25 00:52:02 -05:00
2026-07-09 20:50:33 -05:00
2026-07-19 12:51:24 -05:00
2026-07-19 12:51:24 -05:00
2026-07-11 02:05:43 -05:00
2026-07-09 20:50:33 -05:00
2026-07-22 22:52:38 -05:00
2026-07-18 15:53:11 -05:00
2026-07-24 23:01:06 -05:00
2026-07-16 02:37:37 -05:00
2026-07-14 17:27:58 -05:00
2026-07-14 16:54:11 -05:00
2026-07-19 13:39:15 -05:00
2026-07-14 21:38:03 -05:00
2026-07-14 22:14:38 -05:00
2026-07-14 16:54:11 -05:00
2026-07-14 21:38:03 -05:00
2026-07-14 17:49:23 -05:00
2026-07-11 02:05:43 -05:00
2026-07-09 20:50:33 -05:00
2026-07-24 23:12:47 -05:00
2026-07-11 12:39:10 -05:00
2026-07-19 13:39:15 -05:00
2026-07-09 20:50:33 -05:00