• 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
Unlock NSWindow aspect ratio?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Unlock NSWindow aspect ratio?
      • From: Arbit Richardi <email@hidden>
  • Prev by Date: Re: How do you enable a view controller to be instantiated programmatically or from a XIB?
  • Next by Date: Re: Unlock NSWindow aspect ratio?
  • Previous by thread: Re: How do you enable a view controller to be instantiated programmatically or from a XIB?
  • Next by thread: Re: Unlock NSWindow aspect ratio?
  • Index(es):
    • Date
    • Thread