1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Implement automatic translation for ItemList

This commit is contained in:
DennisManaa
2023-10-18 21:06:28 +02:00
parent 7f884b4e00
commit 1a1c542836
20 changed files with 40 additions and 2 deletions

View File

@@ -1879,6 +1879,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
add_child(file);
frame_list = memnew(ItemList);
frame_list->set_auto_translate(false);
frame_list->set_v_size_flags(SIZE_EXPAND_FILL);
frame_list->set_icon_mode(ItemList::ICON_MODE_TOP);
frame_list->set_texture_filter(TEXTURE_FILTER_NEAREST_WITH_MIPMAPS);