Enable maximize button for Editor/Project settings, Export and Editor Features dialogs.
This commit is contained in:
parent
9a5d6d1049
commit
f06565ab94
4 changed files with 4 additions and 0 deletions
|
|
@ -1445,6 +1445,7 @@ void ProjectExportDialog::_bind_methods() {
|
|||
|
||||
ProjectExportDialog::ProjectExportDialog() {
|
||||
set_title(TTR("Export"));
|
||||
set_flag(FLAG_MAXIMIZE_DISABLED, false);
|
||||
set_clamp_to_embedder(true);
|
||||
|
||||
VBoxContainer *main_vb = memnew(VBoxContainer);
|
||||
|
|
|
|||
|
|
@ -1062,6 +1062,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
|||
export_profile->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
|
||||
|
||||
set_title(TTR("Manage Editor Feature Profiles"));
|
||||
set_flag(FLAG_MAXIMIZE_DISABLED, false);
|
||||
EDITOR_DEF("_default_feature_profile", "");
|
||||
|
||||
update_timer = memnew(Timer);
|
||||
|
|
|
|||
|
|
@ -875,6 +875,7 @@ void EditorSettingsDialog::_bind_methods() {
|
|||
|
||||
EditorSettingsDialog::EditorSettingsDialog() {
|
||||
set_title(TTRC("Editor Settings"));
|
||||
set_flag(FLAG_MAXIMIZE_DISABLED, false);
|
||||
set_clamp_to_embedder(true);
|
||||
|
||||
tabs = memnew(TabContainer);
|
||||
|
|
|
|||
|
|
@ -685,6 +685,7 @@ void ProjectSettingsEditor::_bind_methods() {
|
|||
ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||
singleton = this;
|
||||
set_title(TTRC("Project Settings (project.godot)"));
|
||||
set_flag(FLAG_MAXIMIZE_DISABLED, false);
|
||||
set_clamp_to_embedder(true);
|
||||
|
||||
ps = ProjectSettings::get_singleton();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue