Set main window to fixed 950px width with resizable height
This commit is contained in:
parent
772fd3d4ca
commit
bf0bfb3412
@ -142,7 +142,8 @@ struct ContentView: View {
|
||||
}
|
||||
}
|
||||
.navigationSplitViewStyle(.balanced)
|
||||
.frame(minWidth: 900, maxWidth: 1000, minHeight: 730)
|
||||
.frame(width: 950)
|
||||
.frame(minHeight: 730)
|
||||
.onReceive(NotificationCenter.default.publisher(for: .navigateToDestination)) { notification in
|
||||
if let destination = notification.userInfo?["destination"] as? String {
|
||||
switch destination {
|
||||
|
||||
@ -276,7 +276,7 @@ struct VoiceInkApp: App {
|
||||
}
|
||||
}
|
||||
.windowStyle(.hiddenTitleBar)
|
||||
.defaultSize(width: 970, height: 730)
|
||||
.defaultSize(width: 950, height: 730)
|
||||
.windowResizability(.contentSize)
|
||||
.commands {
|
||||
CommandGroup(replacing: .newItem) { }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user