summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-01-20 14:25:27 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-01-20 14:25:27 -0300
commit324fe76afdf6fc1afa78b6f2c54217236d92151c (patch)
treeec089b58fcd23697d2e7420d91d704ae89f72ce3
parentcfeba2c89927c8ad645a21fdfee56d7209d3a8c4 (diff)
Clip text in EditorPath button to avoid dock size changes
-rw-r--r--editor/editor_path.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp
index d538c7c23d..f0d69f98fb 100644
--- a/editor/editor_path.cpp
+++ b/editor/editor_path.cpp
@@ -150,6 +150,7 @@ void EditorPath::_bind_methods() {
EditorPath::EditorPath(EditorHistory *p_history) {
history = p_history;
+ set_clip_text(true);
set_text_align(ALIGN_LEFT);
get_popup()->connect("about_to_show", this, "_about_to_show");
get_popup()->connect("id_pressed", this, "_id_pressed");