Open Settings in its own roomy window, not the cramped popover

Settings was a NavigationLink pushed inside the 320pt menu-bar popover, so the
grouped form was cramped and most controls sat below a non-obvious scroll (and
showed a confusing "< Settings" back arrow). Add SettingsWindow (same standalone
NSWindow pattern as the Editor/Templates windows) and open it from the menu-bar
"Settings…" button. Drop the now-unused NavigationStack and the 320pt cap so the
form uses real window width with normal macOS spacing; window is resizable.
This commit is contained in:
Grant Gilliam
2026-06-08 13:57:24 -05:00
parent 8f82e9c0a1
commit d9e8c6ceab
3 changed files with 44 additions and 18 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ struct SettingsView: View {
}
}
.formStyle(.grouped)
.frame(width: 320)
.frame(minWidth: 460, idealWidth: 520, maxWidth: .infinity,
minHeight: 520, idealHeight: 660, maxHeight: .infinity)
.navigationTitle("Settings")
}