Editor: Clip content in BehaviorTreeView

This commit is contained in:
Serhii Snitsaruk 2024-02-04 16:23:15 +01:00
parent 74a3635e1c
commit d0c7d98fc4
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ void BehaviorTreeView::_do_update_theme_item_cache() {
extra_spacing = EDITOR_GET("interface/theme/additional_spacing");
extra_spacing *= 2.0;
}
tree->set_column_clip_content(0, true);
tree->set_column_custom_minimum_width(1, 18 * _get_editor_scale());
tree->set_column_custom_minimum_width(2, (50 + extra_spacing) * _get_editor_scale());
}