From bf0bfb341294e05dcd8931d2a545b5b86983ddf2 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Mon, 5 Jan 2026 16:49:58 +0545 Subject: [PATCH] Set main window to fixed 950px width with resizable height --- VoiceInk/Views/ContentView.swift | 3 ++- VoiceInk/VoiceInk.swift | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VoiceInk/Views/ContentView.swift b/VoiceInk/Views/ContentView.swift index ddf062b..f189abe 100644 --- a/VoiceInk/Views/ContentView.swift +++ b/VoiceInk/Views/ContentView.swift @@ -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 { diff --git a/VoiceInk/VoiceInk.swift b/VoiceInk/VoiceInk.swift index a4ac6ad..2526e6a 100644 --- a/VoiceInk/VoiceInk.swift +++ b/VoiceInk/VoiceInk.swift @@ -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) { }