Merge pull request #95891 from KoBeWi/kilometer_long_tree_branch
Disable text trimming in SceneTreeEditor
This commit is contained in:
commit
34779211e0
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ void SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
||||||
TreeItem *item = tree->create_item(p_parent);
|
TreeItem *item = tree->create_item(p_parent);
|
||||||
|
|
||||||
item->set_text(0, p_node->get_name());
|
item->set_text(0, p_node->get_name());
|
||||||
|
item->set_text_overrun_behavior(0, TextServer::OVERRUN_NO_TRIMMING);
|
||||||
if (can_rename && !part_of_subscene) {
|
if (can_rename && !part_of_subscene) {
|
||||||
item->set_editable(0, true);
|
item->set_editable(0, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue