Merge pull request #35702 from YeldhamDev/remote_dock_clip_warning

Clip warning text in the remote dock
This commit is contained in:
Rémi Verschelde 2020-01-29 17:10:21 +01:00 committed by GitHub
commit 6fcb58f40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -584,6 +584,7 @@ InspectorDock::InspectorDock(EditorNode *p_editor, EditorData &p_editor_data) {
add_child(warning);
warning->set_text(TTR("Changes may be lost!"));
warning->set_icon(get_icon("NodeWarning", "EditorIcons"));
warning->set_clip_text(true);
warning->hide();
warning->connect("pressed", this, "_warning_pressed");