Unlock NSWindow aspect ratio?
Unlock NSWindow aspect ratio?
- Subject: Unlock NSWindow aspect ratio?
- From: Arbit Richardi <email@hidden>
- Date: Sat, 24 Sep 2011 18:10:35 -0700
It's easy to lock an NSWindow aspect ratio with setAspectRatio: or
setContentAspectRatio: but is there a way to unlock it? Documentation
for contentAspectRatio states that the default content aspect ratio is
(0, 0), so you might think setting to the "default" would work, but it
doesn't — it makes the window disappear.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden