mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
chore: add max sidebar width
having it expandable to infinity is a bit of an issue if you somehow accidentally expand it full width of the window, though this issue does not happen when you have an Xcode version selected.
This commit is contained in:
parent
17f3d365b8
commit
d1b77b94aa
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ struct NavigationSplitViewWrapper<Sidebar, Detail>: View where Sidebar: View, De
|
|||
NavigationSplitView {
|
||||
if #available(macOS 14, *) {
|
||||
sidebar
|
||||
.navigationSplitViewColumnWidth(min: 290, ideal: 290)
|
||||
.navigationSplitViewColumnWidth(min: 290, ideal: 290, max: 700)
|
||||
} else {
|
||||
sidebar
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue