Fix text insertion mode description wrapping - #791
Conversation
|
The PR Policy check is blocking this PR because required template information is missing. Please update the PR description with:
Visual files detected:
Screenshots or video are required for UI, UX, settings, onboarding, overlay, menu bar, or visual behavior changes. If this PR has no visual changes, check the no-visual-change box in the template. If this remains incomplete for 48 hours after opening, the PR may be closed. |
Greptile SummaryThe PR adjusts SwiftUI sizing so settings descriptions can wrap while adjacent pickers and toggles retain their existing control widths.
|
|
But why wrap only one field while rest are hanging? |
|
Good point. I updated the shared Options description layout so all toggle descriptions wrap consistently, and adjusted Activation Mode to follow the same layout instead of special-casing Text Insertion Mode. That is in commit |
Description
Allow option descriptions in Settings to wrap instead of truncating at narrower window widths. Shared toggle rows now wrap consistently, and the Activation Mode and Text Insertion Mode descriptions take the available leading space while their pickers keep the existing fixed width.
Type of Change
Related Issue or Discussion
Closes #776.
Testing
swiftlint --strict --config .swiftlint.yml Sources(SwiftLint is not installed locally)swiftformat --config .swiftformat Sources(SwiftFormat is not installed locally)xcodebuild test -project Fluid.xcodeproj -scheme Fluid -destination 'platform=macOS,arch=arm64'Also verified with
swiftc -parse,git diff --check, an unsigned app build, and narrow-width visual QA.Screenshots / Video
After: narrow Settings window with the full Text Insertion Mode description wrapped beside the picker.
Notes
AI assistance: Codex was used for implementation and validation.