diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-12 16:51:27 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-12 16:52:22 -0300 |
commit | 4667f9e61ebacda472a8df123018625488a54645 (patch) | |
tree | f2bda63d565f1cd2894b30589963c5a6eda803ba /modules/gridmap | |
parent | 918d8517b738d1ff1cbd8d803e291dbb4e4672d6 (diff) |
Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/grid_map_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gridmap/grid_map_editor_plugin.cpp b/modules/gridmap/grid_map_editor_plugin.cpp index 87afe3d5a4..f3beabceb8 100644 --- a/modules/gridmap/grid_map_editor_plugin.cpp +++ b/modules/gridmap/grid_map_editor_plugin.cpp @@ -741,7 +741,7 @@ void GridMapEditor::update_pallete() { } float min_size = EDITOR_DEF("grid_map/preview_size",64); - theme_pallete->set_min_icon_size(Size2(min_size, min_size)); + theme_pallete->set_fixed_icon_size(Size2(min_size, min_size)); theme_pallete->set_fixed_column_width(min_size*3/2); theme_pallete->set_max_text_lines(2); |