prevent joypad button input dropdown going out of dialog

This commit is contained in:
alvaroHernandez 2020-03-16 21:34:04 -03:00
parent c5d76139dc
commit e47d5691e4

View file

@ -2006,6 +2006,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;