From d1b77b94aa3c693bc1d728b82076fe5a775a9034 Mon Sep 17 00:00:00 2001 From: khcrysalis <97859147+khcrysalis@users.noreply.github.com> Date: Sat, 9 Nov 2024 23:11:40 -0800 Subject: [PATCH] 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. --- Xcodes/Frontend/Common/NavigationSplitViewWrapper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcodes/Frontend/Common/NavigationSplitViewWrapper.swift b/Xcodes/Frontend/Common/NavigationSplitViewWrapper.swift index 92dafff3..25e09133 100644 --- a/Xcodes/Frontend/Common/NavigationSplitViewWrapper.swift +++ b/Xcodes/Frontend/Common/NavigationSplitViewWrapper.swift @@ -23,7 +23,7 @@ struct NavigationSplitViewWrapper: 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 }