From 2437cc6eb1e30c62f11f2cf5f308ff911f3807fa Mon Sep 17 00:00:00 2001 From: Stanislav Labzyuk Date: Thu, 19 Jan 2023 11:37:03 +0100 Subject: [PATCH] Enable column clip content in SceneTreeEditor --- editor/scene_tree_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index e0d748c478aa..f08e3990f38d 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -1411,6 +1411,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope tree->set_begin(Point2(0, p_label ? 18 : 0)); tree->set_end(Point2(0, 0)); tree->set_allow_reselect(true); + tree->set_column_clip_content(0, true); tree->add_theme_constant_override("button_margin", 0); add_child(tree);