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

@ -773,6 +773,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("item_start_padding", "PopupMenu", Math::round(2 * scale));
theme->set_constant("item_end_padding", "PopupMenu", Math::round(2 * scale));
theme->set_constant("icon_max_width", "PopupMenu", 0);
theme->set_constant("gutter_compact", "PopupMenu", 1);
// GraphNode