Merge pull request #95891 from KoBeWi/kilometer_long_tree_branch

Disable text trimming in SceneTreeEditor
This commit is contained in:
Rémi Verschelde 2024-08-26 23:29:10 +02:00
commit 34779211e0
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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);
}