Skip to content

Commit

Permalink
Editor: Clip content in BehaviorTreeView
Browse files Browse the repository at this point in the history
  • Loading branch information
limbonaut committed Feb 4, 2024
1 parent 74a3635 commit d0c7d98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/debugger/behavior_tree_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit d0c7d98

Please sign in to comment.