Post

Replies

Boosts

Views

Activity

Reply to How to resize window view dimension
var body: some Scene { WindowGroup { ContentView() .frame(minWidth: 720, maxWidth: 1280, minHeight: 720, maxHeight: 1700) } .defaultSize(CGSize(width: 1280, height: 720)) .windowResizability(.contentSize) Will assign a default size. You can also limit the resize range with .frame(minWidth, maxWidth ...)
Feb ’24