From d917d88b5b9971492f0e7bad37c830615f1de2e8 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 21 Aug 2024 11:07:47 +0200 Subject: [PATCH] Disable text trimming in SceneTreeEditor --- editor/gui/scene_tree_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/gui/scene_tree_editor.cpp b/editor/gui/scene_tree_editor.cpp index 87d8ddad092..69ab9810a0e 100644 --- a/editor/gui/scene_tree_editor.cpp +++ b/editor/gui/scene_tree_editor.cpp @@ -216,6 +216,7 @@ void SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) { TreeItem *item = tree->create_item(p_parent); item->set_text(0, p_node->get_name()); + item->set_text_overrun_behavior(0, TextServer::OVERRUN_NO_TRIMMING); if (can_rename && !part_of_subscene) { item->set_editable(0, true); }