mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +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
|
|
@ -657,6 +657,7 @@ ShaderEditorPlugin::ShaderEditorPlugin() {
|
|||
}
|
||||
|
||||
shader_list = memnew(ItemList);
|
||||
shader_list->set_auto_translate(false);
|
||||
shader_list->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
vb->add_child(shader_list);
|
||||
shader_list->connect("item_selected", callable_mp(this, &ShaderEditorPlugin::_shader_selected));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue