• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unlock NSWindow aspect ratio?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Unlock NSWindow aspect ratio? (From: Arbit Richardi <email@hidden>)

  • Prev by Date: Unlock NSWindow aspect ratio?
  • Next by Date: Locked FIles in Lion
  • Previous by thread: Unlock NSWindow aspect ratio?
  • Next by thread: Locked FIles in Lion
  • Index(es):
    • Date
    • Thread