From 809f5d6d8e4c82deeeaf1ae9cab399b000d2ed5e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 7 Dec 2025 14:52:05 +0100 Subject: [PATCH] chore(macos): align mic level bar width --- apps/macos/Sources/Clawdis/VoiceWakeSettings.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/macos/Sources/Clawdis/VoiceWakeSettings.swift b/apps/macos/Sources/Clawdis/VoiceWakeSettings.swift index 470aaa42f..5292c59bc 100644 --- a/apps/macos/Sources/Clawdis/VoiceWakeSettings.swift +++ b/apps/macos/Sources/Clawdis/VoiceWakeSettings.swift @@ -304,6 +304,7 @@ struct VoiceWakeSettings: View { @State private var showForwardAdvanced = false @State private var forwardStatus: ForwardStatus = .idle private let fieldLabelWidth: CGFloat = 110 + private let controlWidth: CGFloat = 300 private var voiceWakeBinding: Binding { Binding( @@ -576,7 +577,7 @@ struct VoiceWakeSettings: View { } } .labelsHidden() - .frame(width: 260) + .frame(width: self.controlWidth) } if self.loadingMics { ProgressView().controlSize(.small) @@ -597,7 +598,7 @@ struct VoiceWakeSettings: View { } } .labelsHidden() - .frame(width: 260) + .frame(width: self.controlWidth) } if !self.state.voiceWakeAdditionalLocaleIDs.isEmpty { @@ -727,7 +728,7 @@ struct VoiceWakeSettings: View { .font(.callout.weight(.semibold)) .frame(width: self.fieldLabelWidth, alignment: .leading) MicLevelBar(level: self.meterLevel) - .frame(width: 260, alignment: .leading) + .frame(width: self.controlWidth, alignment: .leading) Text(self.levelLabel) .font(.callout.monospacedDigit()) .foregroundStyle(.secondary)