Merge pull request #35369 from YeldhamDev/editor_path_clip

Clip text in EditorPath button to avoid dock size changes
This commit is contained in:
Rémi Verschelde 2020-01-20 20:00:10 +01:00 committed by GitHub
commit ad8819ca61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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");