2
0
Эх сурвалжийг харах

Merge pull request #35702 from YeldhamDev/remote_dock_clip_warning

Clip warning text in the remote dock
Rémi Verschelde 5 жил өмнө
parent
commit
6fcb58f40d

+ 1 - 0
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");