From e47d5691e41eba5fab82ad4eb32223e58f186981 Mon Sep 17 00:00:00 2001 From: alvaroHernandez Date: Mon, 16 Mar 2020 21:34:04 -0300 Subject: [PATCH] prevent joypad button input dropdown going out of dialog --- editor/project_settings_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 7d8a4a733d8..4fb61929a3e 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -2006,6 +2006,8 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) { device_index_label = l; device_index = memnew(OptionButton); + device_index->set_clip_text(true); + vbc_right->add_child(device_index); setting = false;