Merge pull request #40291 from hinlopen/dialog-size

Resize various dialogs
This commit is contained in:
Rémi Verschelde 2020-07-15 12:13:33 +02:00 committed by GitHub
commit 6497a3fb50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 92 additions and 85 deletions

View file

@ -397,7 +397,7 @@ void ProjectExportDialog::_patch_button_pressed(Object *p_item, int p_column, in
patch_erase->set_text(vformat(TTR("Delete patch '%s' from list?"), patches[patch_index].get_file()));
patch_erase->popup_centered();
} else {
patch_dialog->popup_centered_ratio();
patch_dialog->popup_file_dialog();
}
}
@ -876,7 +876,7 @@ void ProjectExportDialog::_tree_changed() {
}
void ProjectExportDialog::_export_pck_zip() {
export_pck_zip->popup_centered_ratio();
export_pck_zip->popup_file_dialog();
}
void ProjectExportDialog::_export_pck_zip_selected(const String &p_path) {
@ -952,7 +952,7 @@ void ProjectExportDialog::_export_project() {
}
export_project->set_file_mode(EditorFileDialog::FILE_MODE_SAVE_FILE);
export_project->popup_centered_ratio();
export_project->popup_file_dialog();
}
void ProjectExportDialog::_export_project_to_path(const String &p_path) {