mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-15 02:37:32 +00:00
fix(ui): adjust sidebar column width for better layout
This commit is contained in:
@@ -46,13 +46,12 @@ struct MainWindowView: View {
|
||||
var body: some View {
|
||||
NavigationSplitView {
|
||||
sidebar
|
||||
.navigationSplitViewColumnWidth(min: 200, ideal: 236, max: 300)
|
||||
.navigationSplitViewColumnWidth(min: 210, ideal: 236, max: 300)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .automatic) {
|
||||
addMenu
|
||||
}
|
||||
}
|
||||
.toolbar(removing: .sidebarToggle)
|
||||
} detail: {
|
||||
destinationView
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user