Clip warning text in the remote dock

This commit is contained in:
Michael Alexsander 2020-01-29 12:52:07 -03:00
parent 9823dab954
commit 0faadcae8f
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");