summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-04 21:41:03 +0200
committerGitHub <noreply@github.com>2022-08-04 21:41:03 +0200
commit80193260ff2734c368127bbc55228fa6ab3ebc2c (patch)
tree16ef72f627298ef54c7f1be67f4f50ac494736bf
parent52bfae1741625e2274e1f3b15a4d626d1e7daffd (diff)
parentebcfd13c304ee7e22dfe786c2f2714c8203e66fe (diff)
Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi
-rw-r--r--editor/plugins/theme_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp
index 2a61ea0baa..bbc22c8622 100644
--- a/editor/plugins/theme_editor_plugin.cpp
+++ b/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));