On Sat, Sep 24, 2011 at 6:10 PM, Arbit Richardi <beamsplit...@gmail.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com