style(onboarding): reduce window height
parent
78cb565dc2
commit
9ccf80848d
|
|
@ -24,7 +24,7 @@ final class OnboardingController {
|
||||||
let hosting = NSHostingController(rootView: OnboardingView())
|
let hosting = NSHostingController(rootView: OnboardingView())
|
||||||
let window = NSWindow(contentViewController: hosting)
|
let window = NSWindow(contentViewController: hosting)
|
||||||
window.title = UIStrings.welcomeTitle
|
window.title = UIStrings.welcomeTitle
|
||||||
window.setContentSize(NSSize(width: 680, height: 840))
|
window.setContentSize(NSSize(width: 680, height: 815))
|
||||||
window.styleMask = [.titled, .closable, .fullSizeContentView]
|
window.styleMask = [.titled, .closable, .fullSizeContentView]
|
||||||
window.titlebarAppearsTransparent = true
|
window.titlebarAppearsTransparent = true
|
||||||
window.titleVisibility = .hidden
|
window.titleVisibility = .hidden
|
||||||
|
|
@ -167,7 +167,7 @@ struct OnboardingView: View {
|
||||||
|
|
||||||
self.navigationBar
|
self.navigationBar
|
||||||
}
|
}
|
||||||
.frame(width: self.pageWidth, height: 840)
|
.frame(width: self.pageWidth, height: 815)
|
||||||
.background(Color(NSColor.windowBackgroundColor))
|
.background(Color(NSColor.windowBackgroundColor))
|
||||||
.onAppear {
|
.onAppear {
|
||||||
self.currentPage = 0
|
self.currentPage = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue