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:
parent
d1f4c66378
commit
fd31210ea4
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue