From cf86bb835549d980cb3c5a15887f9a0d3f7d2e66 Mon Sep 17 00:00:00 2001 From: so1omon563 <43015107+so1omon563@users.noreply.github.com> Date: Wed, 5 Aug 2026 08:35:06 -0700 Subject: [PATCH 1/2] Fix text insertion mode description wrapping --- Sources/Fluid/UI/SettingsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swift index 03574604..ce1b9731 100644 --- a/Sources/Fluid/UI/SettingsView.swift +++ b/Sources/Fluid/UI/SettingsView.swift @@ -864,9 +864,9 @@ struct SettingsView: View { Text(SettingsStore.shared.textInsertionMode.description) .font(self.theme.typography.bodySmall) .foregroundStyle(self.settingsSecondaryText) + .fixedSize(horizontal: false, vertical: true) } - - Spacer() + .frame(maxWidth: .infinity, alignment: .leading) Picker("", selection: Binding( get: { SettingsStore.shared.textInsertionMode }, From 97f40a877ec20b7a210c06923f9d2762809a23f4 Mon Sep 17 00:00:00 2001 From: so1omon563 <43015107+so1omon563@users.noreply.github.com> Date: Tue, 11 Aug 2026 14:23:45 -0700 Subject: [PATCH 2/2] Wrap option descriptions consistently --- Sources/Fluid/UI/SettingsView.swift | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swift index ce1b9731..2848219f 100644 --- a/Sources/Fluid/UI/SettingsView.swift +++ b/Sources/Fluid/UI/SettingsView.swift @@ -828,9 +828,9 @@ struct SettingsView: View { Text(self.hotkeyMode.description) .font(self.theme.typography.bodySmall) .foregroundStyle(self.settingsSecondaryText) + .fixedSize(horizontal: false, vertical: true) } - - Spacer() + .frame(maxWidth: .infinity, alignment: .leading) Picker("", selection: self.$hotkeyMode) { ForEach(HotkeyActivationMode.allCases) { mode in @@ -964,8 +964,7 @@ struct SettingsView: View { isOn: Binding( get: { SettingsStore.shared.literalDictationFormattingEnabled }, set: { SettingsStore.shared.literalDictationFormattingEnabled = $0 } - ), - allowsDescriptionWrapping: true + ) ) Divider().opacity(0.2) @@ -995,8 +994,7 @@ struct SettingsView: View { isOn: Binding( get: { SettingsStore.shared.skipSilentRecordingsEnabled }, set: { SettingsStore.shared.skipSilentRecordingsEnabled = $0 } - ), - allowsDescriptionWrapping: true + ) ) Divider().opacity(0.2) @@ -1961,8 +1959,7 @@ struct SettingsView: View { private func optionToggleRow( title: String, description: String, - isOn: Binding, - allowsDescriptionWrapping: Bool = false + isOn: Binding ) -> some View { HStack(alignment: .center) { VStack(alignment: .leading, spacing: 2) { @@ -1972,13 +1969,9 @@ struct SettingsView: View { Text(description) .font(self.theme.typography.bodySmall) .foregroundStyle(self.settingsSecondaryText) - .fixedSize(horizontal: false, vertical: allowsDescriptionWrapping) - } - .frame(maxWidth: allowsDescriptionWrapping ? .infinity : nil, alignment: .leading) - - if !allowsDescriptionWrapping { - Spacer() + .fixedSize(horizontal: false, vertical: true) } + .frame(maxWidth: .infinity, alignment: .leading) Toggle("", isOn: isOn) .toggleStyle(.switch)