Clip warning text in the remote dock

(cherry picked from commit 0faadcae8f)
This commit is contained in:
Michael Alexsander 2020-01-29 12:52:07 -03:00 committed by Rémi Verschelde
parent 808a0bac33
commit 6cb4ec2289
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); add_child(warning);
warning->set_text(TTR("Changes may be lost!")); warning->set_text(TTR("Changes may be lost!"));
warning->set_icon(get_icon("NodeWarning", "EditorIcons")); warning->set_icon(get_icon("NodeWarning", "EditorIcons"));
warning->set_clip_text(true);
warning->hide(); warning->hide();
warning->connect("pressed", this, "_warning_pressed"); warning->connect("pressed", this, "_warning_pressed");