From c1a64301ce9954cdc220dc8be9e07504ca279f99 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 6 Dec 2025 00:46:24 +0100 Subject: [PATCH] mac: lock settings window size --- apps/macos/Sources/Clawdis/AppMain.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/macos/Sources/Clawdis/AppMain.swift b/apps/macos/Sources/Clawdis/AppMain.swift index 5e033dc80..905f98c10 100644 --- a/apps/macos/Sources/Clawdis/AppMain.swift +++ b/apps/macos/Sources/Clawdis/AppMain.swift @@ -365,7 +365,7 @@ struct ClawdisApp: App { Settings { SettingsRootView(state: state) - .frame(minWidth: 520, minHeight: 460) + .frame(width: SettingsTab.windowWidth, height: SettingsTab.windowHeight, alignment: .topLeading) } } } @@ -660,6 +660,8 @@ struct SettingsRootView: View { enum SettingsTab: CaseIterable { case general, permissions, debug, about + static let windowWidth: CGFloat = 460 + static let windowHeight: CGFloat = 500 var title: String { switch self { case .general: return "General"