PopupMenu: Add theme option for merging icon and checkbox gutters

This commit is contained in:
Haoyu Qiu 2025-11-08 22:34:25 +08:00
parent 6fd949a6dc
commit 4694ee84f6
4 changed files with 47 additions and 26 deletions

View file

@ -717,6 +717,9 @@
<theme_item name="font_separator_outline_color" data_type="color" type="Color" default="Color(0, 0, 0, 1)">
The tint of text outline of the labeled separator.
</theme_item>
<theme_item name="gutter_compact" data_type="constant" type="int" default="1">
If not [code]0[/code], the icon gutter will be merged with the checkbox gutter when possible. This acts as a boolean.
</theme_item>
<theme_item name="h_separation" data_type="constant" type="int" default="4">
The horizontal space between the item's elements.
</theme_item>