1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs).

This commit is contained in:
Stijn Hinlopen
2020-07-11 18:45:19 +02:00
parent 2921827387
commit 526e060b73
45 changed files with 92 additions and 85 deletions

View File

@@ -340,7 +340,7 @@ void AnimationPlayerEditor::_animation_load() {
file->add_filter("*." + E->get() + " ; " + E->get().to_upper());
}
file->popup_centered_ratio();
file->popup_file_dialog();
current_option = RESOURCE_LOAD;
}
@@ -399,8 +399,8 @@ void AnimationPlayerEditor::_animation_save_as(const Ref<Resource> &p_resource)
}
}
file->set_current_path(path);
file->popup_centered_ratio();
file->set_title(TTR("Save Resource As..."));
file->popup_file_dialog();
current_option = RESOURCE_SAVE;
}