I opened a window using the windowgroup in Vision Pro, the only thing I wanted is to keep the window's width and height ratio to a constant. but the resize controls can scale really wild , how can I achieve this? oh by the way the minimize window is so small , I don't know why the minWidth doesn't work properly.
Hi @windowresized ,
Try this solution here:
https://forums.developer.apple.com/forums/thread/746154
There is no SwiftUI API for this. If you'd like to see one, please file a feedback report at https://feedbackassistant.apple.com and paste the FB number here. This is definitely a requested feature by others as well!
Best,
Sydney