style(onboarding): reduce window height

This commit is contained in:
Peter Steinberger
2025-12-20 21:33:56 +00:00
parent 78cb565dc2
commit 9ccf80848d

View File

@@ -24,7 +24,7 @@ final class OnboardingController {
let hosting = NSHostingController(rootView: OnboardingView())
let window = NSWindow(contentViewController: hosting)
window.title = UIStrings.welcomeTitle
window.setContentSize(NSSize(width: 680, height: 840))
window.setContentSize(NSSize(width: 680, height: 815))
window.styleMask = [.titled, .closable, .fullSizeContentView]
window.titlebarAppearsTransparent = true
window.titleVisibility = .hidden
@@ -167,7 +167,7 @@ struct OnboardingView: View {
self.navigationBar
}
.frame(width: self.pageWidth, height: 840)
.frame(width: self.pageWidth, height: 815)
.background(Color(NSColor.windowBackgroundColor))
.onAppear {
self.currentPage = 0