You've already forked godot
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user