Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.
This commit is contained in:
parent
8fa92c70ea
commit
26c29cc0d7
3 changed files with 25 additions and 8 deletions
|
|
@ -644,6 +644,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
theme->set_constant("hseparation", "PopupMenu", 4 * scale);
|
||||
theme->set_constant("vseparation", "PopupMenu", 4 * scale);
|
||||
theme->set_constant("outline_size", "PopupMenu", 0);
|
||||
theme->set_constant("item_start_padding", "PopupMenu", 2 * scale);
|
||||
theme->set_constant("item_end_padding", "PopupMenu", 2 * scale);
|
||||
|
||||
// GraphNode
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue