1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Implement Tree's internal minimum width calculation

This commit is contained in:
Gilles Roudière
2021-06-28 15:40:56 +02:00
parent b2dddc3c82
commit d7d32ced5b
20 changed files with 193 additions and 108 deletions

View File

@@ -569,8 +569,8 @@ void AnimationPlayerEditor::_animation_blend() {
blend_editor.dialog->popup_centered(Size2(400, 400) * EDSCALE);
blend_editor.tree->set_hide_root(true);
blend_editor.tree->set_column_min_width(0, 10);
blend_editor.tree->set_column_min_width(1, 3);
blend_editor.tree->set_column_custom_minimum_width(0, 10);
blend_editor.tree->set_column_custom_minimum_width(1, 3);
List<StringName> anims;
player->get_animation_list(&anims);