mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Implement automatic translation for ItemList
This commit is contained in:
parent
7f884b4e00
commit
1a1c542836
20 changed files with 40 additions and 2 deletions
|
|
@ -2247,6 +2247,7 @@ ThemeTypeDialog::ThemeTypeDialog() {
|
|||
add_type_vb->add_child(add_type_options_label);
|
||||
|
||||
add_type_options = memnew(ItemList);
|
||||
add_type_options->set_auto_translate(false);
|
||||
add_type_options->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
add_type_vb->add_child(add_type_options);
|
||||
add_type_options->connect("item_selected", callable_mp(this, &ThemeTypeDialog::_add_type_options_cbk));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue