mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Update NavigationSplitViewWrapper.swift
update mini width of sidebar
This commit is contained in:
parent
ae55e0fb15
commit
e5c4fd431a
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ struct NavigationSplitViewWrapper<Sidebar, Detail>: View where Sidebar: View, De
|
|||
|
||||
if #available(macOS 14, *) {
|
||||
sidebar
|
||||
.navigationSplitViewColumnWidth(min: 250, ideal: 300)
|
||||
.navigationSplitViewColumnWidth(min: 300, ideal: 300)
|
||||
} else {
|
||||
sidebar
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@ struct NavigationSplitViewWrapper<Sidebar, Detail>: View where Sidebar: View, De
|
|||
NavigationView {
|
||||
// The first column is the sidebar.
|
||||
sidebar
|
||||
.frame(minWidth: 250)
|
||||
.frame(minWidth: 300)
|
||||
detail
|
||||
}
|
||||
.navigationViewStyle(.columns)
|
||||
|
|
|
|||
Loading…
Reference in a new issue