Browse Source

Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix

Fix "Name" popup's size in theme editor
Michael Alexsander Silva Dias 6 years ago
parent
commit
11bac340d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/theme_editor_plugin.cpp

+ 1 - 1
editor/plugins/theme_editor_plugin.cpp

@@ -86,7 +86,7 @@ void ThemeEditor::_name_menu_about_to_show() {
 	}
 
 	name_menu->get_popup()->clear();
-
+	name_menu->get_popup()->set_size(Size2());
 	for (List<StringName>::Element *E = names.front(); E; E = E->next()) {
 
 		name_menu->get_popup()->add_item(E->get());