style(onboarding): reduce window height
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user