소스 검색

Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi

Rémi Verschelde 3 년 전
부모
커밋
80193260ff
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/plugins/theme_editor_plugin.cpp

+ 1 - 0
editor/plugins/theme_editor_plugin.cpp

@@ -3381,6 +3381,7 @@ ThemeTypeEditor::ThemeTypeEditor() {
 
 	theme_type_list = memnew(OptionButton);
 	theme_type_list->set_h_size_flags(SIZE_EXPAND_FILL);
+	theme_type_list->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
 	type_list_hb->add_child(theme_type_list);
 	theme_type_list->connect("item_selected", callable_mp(this, &ThemeTypeEditor::_list_type_selected));