prevent joypad button input dropdown going out of dialog

(cherry picked from commit e47d5691e4)
This commit is contained in:
alvaroHernandez 2020-03-16 21:34:04 -03:00 committed by Rémi Verschelde
parent 4dd1eee769
commit bce2a3a2d2
1 changed files with 2 additions and 0 deletions

View File

@ -1999,6 +1999,8 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
device_index_label = l; device_index_label = l;
device_index = memnew(OptionButton); device_index = memnew(OptionButton);
device_index->set_clip_text(true);
vbc_right->add_child(device_index); vbc_right->add_child(device_index);
setting = false; setting = false;