Skip to content

Commit

Permalink
Merge pull request #95891 from KoBeWi/kilometer_long_tree_branch
Browse files Browse the repository at this point in the history
Disable text trimming in SceneTreeEditor
  • Loading branch information
akien-mga committed Aug 26, 2024
2 parents 8c0209f + d917d88 commit 3477921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/gui/scene_tree_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3477921

Please sign in to comment.