diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-25 17:47:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 17:47:23 +0200 |
commit | cce2e4b07c1c4b6f2f9d72cac340d9f9ecbb790e (patch) | |
tree | 60fd0e7dc619159522d34434e1507580508d8a33 /editor/plugins | |
parent | 9fc84061dd0e578a038205fee155846951e9a879 (diff) | |
parent | 8f9447310d83c6519df5579d02a6adcd79840c04 (diff) |
Merge pull request #22301 from YeldhamDev/button_popup_highlight
Enable toggle behaviour for buttons that trigger popups
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 7c8e69ae70..80e2e99685 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -831,6 +831,7 @@ ThemeEditor::ThemeEditor() { type_edit->set_h_size_flags(SIZE_EXPAND_FILL); type_hbc->add_child(type_edit); type_menu = memnew(MenuButton); + type_menu->set_flat(false); type_menu->set_text(".."); type_hbc->add_child(type_menu); @@ -848,6 +849,7 @@ ThemeEditor::ThemeEditor() { name_edit->set_h_size_flags(SIZE_EXPAND_FILL); name_hbc->add_child(name_edit); name_menu = memnew(MenuButton); + type_menu->set_flat(false); name_menu->set_text(".."); name_hbc->add_child(name_menu); |