浏览代码

Fix "Name" popup's size in theme editor

Michael Alexsander Silva Dias 6 年之前
父节点
当前提交
dac9a5ba96
共有 1 个文件被更改,包括 1 次插入1 次删除
  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());