From bce2a3a2d2b86668b052d650a7a1baec9deb6640 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 (cherry picked from commit e47d5691e41eba5fab82ad4eb32223e58f186981) --- 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 b656fd647f6..3d7e47ca4f6 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -1999,6 +1999,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;