diff options
| author | Juan Linietsky | 2016-06-12 16:51:27 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-12 16:52:22 -0300 |
| commit | 4667f9e61ebacda472a8df123018625488a54645 (patch) | |
| tree | f2bda63d565f1cd2894b30589963c5a6eda803ba /tools/editor/plugins/sprite_frames_editor_plugin.cpp | |
| parent | 918d8517b738d1ff1cbd8d803e291dbb4e4672d6 (diff) | |
| download | godot-4667f9e61ebacda472a8df123018625488a54645.tar.gz godot-4667f9e61ebacda472a8df123018625488a54645.tar.zst godot-4667f9e61ebacda472a8df123018625488a54645.zip | |
Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907
Diffstat (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp index 4532e91e1..4f5928799 100644 --- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp @@ -825,7 +825,7 @@ SpriteFramesEditor::SpriteFramesEditor() { tree->set_icon_mode(ItemList::ICON_MODE_TOP); tree->set_fixed_column_width(thumbnail_size*3/2); tree->set_max_text_lines(2); - tree->set_max_icon_size(Size2(thumbnail_size,thumbnail_size)); + tree->set_fixed_icon_size(Size2(thumbnail_size,thumbnail_size)); //tree->set_min_icon_size(Size2(thumbnail_size,thumbnail_size)); tree->set_drag_forwarding(this); |
