aboutsummaryrefslogtreecommitdiff
path: root/modules/gridmap/grid_map_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-06-12 16:51:27 -0300
committerJuan Linietsky2016-06-12 16:52:22 -0300
commit4667f9e61ebacda472a8df123018625488a54645 (patch)
treef2bda63d565f1cd2894b30589963c5a6eda803ba /modules/gridmap/grid_map_editor_plugin.cpp
parent918d8517b738d1ff1cbd8d803e291dbb4e4672d6 (diff)
downloadgodot-4667f9e61ebacda472a8df123018625488a54645.tar.gz
godot-4667f9e61ebacda472a8df123018625488a54645.tar.zst
godot-4667f9e61ebacda472a8df123018625488a54645.zip
Diffstat (limited to 'modules/gridmap/grid_map_editor_plugin.cpp')
-rw-r--r--modules/gridmap/grid_map_editor_plugin.cpp2
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 87afe3d5a..f3beabceb 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);