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

Fix unexpected auto translation of Tree content

This commit is contained in:
Haoyu Qiu
2024-03-17 16:28:18 +08:00
parent fe01776f05
commit 8cd1ebbd6d
37 changed files with 54 additions and 0 deletions

View File

@@ -668,6 +668,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
manual_vbox->add_child(input_list_search);
input_list_tree = memnew(Tree);
input_list_tree->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
input_list_tree->set_custom_minimum_size(Size2(0, 100 * EDSCALE)); // Min height for tree
input_list_tree->connect("item_selected", callable_mp(this, &InputEventConfigurationDialog::_input_list_item_selected));
input_list_tree->set_v_size_flags(Control::SIZE_EXPAND_FILL);