소스 검색

Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix

Fix "Name" popup's size in theme editor
Michael Alexsander Silva Dias 6 년 전
부모
커밋
11bac340d0
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());