SwiftUI Mac devs: I'm having an issue with window sizing when using an inspector. The minimum window size is larger than expected, so there's a gap at the bottom equal to the height of the title bar. The only solution I can find is to manually subtract 52 pixels, which is better than nothing but not great. Any better ideas? I'm working on macOS 15 but this happens on macOS 26 also. Here's the code, and more detail about the problem: https://gist.github.com/robotspacer/c9d845f67368f7b42de3b74d6cc009c6 #MacDev #SwiftUI
@robotspacer I’ve noticed that in most cases the inspector modifier works best when attached to a NavigationStack or NavigationSplitView. Maybe that will help with some of the glitchy behavior your seeing
@JTostitos Unfortunately NavigationStack doesn't change the issue, and NavigationSplitView actually… *doubles* the unwanted space at the bottom? (In addition to adding a leading sidebar I don't need—just thought I'd try it just to see if it helped.) Very strange.