1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907

This commit is contained in:
Juan Linietsky
2016-06-12 16:51:27 -03:00
parent 918d8517b7
commit 4667f9e61e
6 changed files with 54 additions and 83 deletions

View File

@@ -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);