I've tried setting contentAspectRatio from SwiftUI via NSApplication.shared.keyWindow?.contentAspectRatio = ratio which might be an acceptable hack for me -- but it looks like it's behaving more like aspectRatio, where the window title is included in the titlebar. Not sure how to get the aspect ratio to only limit the SwiftUI content.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags: