mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Merge pull request #83577 from DennisManaa/fix-translation-for-item-list
Add automatic translation of items to ItemList
This commit is contained in:
commit
5eb22a317d
20 changed files with 40 additions and 2 deletions
|
@ -1880,6 +1880,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue