From 6cb4ec2289a53283436bb9df8174a59e9d685485 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Wed, 29 Jan 2020 12:52:07 -0300 Subject: [PATCH] Clip warning text in the remote dock (cherry picked from commit 0faadcae8f0898a063afac95dde1b3ef007ce872) --- editor/inspector_dock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 2be3464d30b..b65482cc6bb 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -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");