Fix settings dropdown for Sidebar Branch Layout taking full width (#825)

The Picker was missing the controlWidth parameter that all other picker
rows in settings use, causing it to expand and hide its label.
This commit is contained in:
Lawrence Chen 2026-03-03 18:21:02 -08:00 committed by GitHub
parent d1f4c66378
commit fd31210ea4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2985,7 +2985,8 @@ struct SettingsView: View {
"Sidebar Branch Layout",
subtitle: sidebarBranchVerticalLayout
? "Vertical: each branch appears on its own line."
: "Inline: all branches share one line."
: "Inline: all branches share one line.",
controlWidth: pickerColumnWidth
) {
Picker("", selection: $sidebarBranchVerticalLayout) {
Text("Vertical").tag(true)