Re: Unlock NSWindow aspect ratio?
Re: Unlock NSWindow aspect ratio?
- Subject: Re: Unlock NSWindow aspect ratio?
- From: Arbit Richardi <email@hidden>
- Date: Sat, 24 Sep 2011 18:16:25 -0700
On Sat, Sep 24, 2011 at 6:10 PM, Arbit Richardi <email@hidden> wrote:
> 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.
Please disregard, the solution is documented — NSWindow
setResizeIncrements: cancels aspect ratio.
_______________________________________________
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