From 306780780212dcdba96a29427b19e764e82688b2 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 6 Dec 2025 00:55:10 +0100 Subject: [PATCH] mac: trimmy-style padding and debug toggle --- apps/macos/Sources/Clawdis/AppMain.swift | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/macos/Sources/Clawdis/AppMain.swift b/apps/macos/Sources/Clawdis/AppMain.swift index 6cbcddeef..0e0f6df6a 100644 --- a/apps/macos/Sources/Clawdis/AppMain.swift +++ b/apps/macos/Sources/Clawdis/AppMain.swift @@ -682,8 +682,8 @@ struct SettingsRootView: View { .tabItem { Label("About", systemImage: "info.circle") } .tag(SettingsTab.about) } - .padding(.horizontal, 16) - .padding(.vertical, 14) + .padding(.horizontal, 12) + .padding(.vertical, 12) .onReceive(NotificationCenter.default.publisher(for: .clawdisSelectSettingsTab)) { note in if let tab = note.object as? SettingsTab { withAnimation(.spring(response: 0.32, dampingFraction: 0.85)) { @@ -720,8 +720,8 @@ struct SettingsRootView: View { enum SettingsTab: CaseIterable { case general, permissions, debug, about - static let windowWidth: CGFloat = 460 - static let windowHeight: CGFloat = 500 + static let windowWidth: CGFloat = 410 + static let windowHeight: CGFloat = 480 var title: String { switch self { case .general: return "General" @@ -758,19 +758,18 @@ struct GeneralSettings: View { var body: some View { VStack(alignment: .leading, spacing: 16) { if !state.onboardingSeen { - Label("Complete onboarding to finish setup", systemImage: "sparkles") + Text("Complete onboarding to finish setup") + .font(.callout.weight(.semibold)) .foregroundColor(.accentColor) - .padding(.bottom, 4) + .padding(.bottom, 2) } VStack(alignment: .leading, spacing: 10) { Toggle(isOn: activeBinding) { Text(activeBinding.wrappedValue ? "Clawdis Active" : "Clawdis Paused") } .help("Disable to stop Clawdis background helpers and notifications") Toggle(isOn: $state.launchAtLogin) { Text("Launch at login") } - #if DEBUG Toggle(isOn: $state.debugPaneEnabled) { Text("Enable debug tools") } .help("Show the Debug tab with development utilities") - #endif LabeledContent("Default sound") { Picker("Sound", selection: $state.defaultSound) {