From 324fe76afdf6fc1afa78b6f2c54217236d92151c Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Mon, 20 Jan 2020 14:25:27 -0300 Subject: [PATCH] Clip text in EditorPath button to avoid dock size changes --- editor/editor_path.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp index d538c7c23df..f0d69f98fbf 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");