diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-20 20:00:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-20 20:00:10 +0100 |
commit | ad8819ca61fd2907a750131f928213992fded54a (patch) | |
tree | f058cd784a0c39d51f4e93e5eca2a156599819e4 /editor/editor_path.cpp | |
parent | 3829660ec0e83b2e6397f07a8efaf60eeb7a4467 (diff) | |
parent | 324fe76afdf6fc1afa78b6f2c54217236d92151c (diff) |
Merge pull request #35369 from YeldhamDev/editor_path_clip
Clip text in EditorPath button to avoid dock size changes
Diffstat (limited to 'editor/editor_path.cpp')
-rw-r--r-- | editor/editor_path.cpp | 1 |
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"); |