You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Enable toggle behaviour for buttons that trigger popups
This commit is contained in:
@@ -802,6 +802,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);
|
||||
|
||||
@@ -819,6 +820,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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user