• 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
setContentAspectRatio on window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setContentAspectRatio on window


  • Subject: setContentAspectRatio on window
  • From: Richard Bannister <email@hidden>
  • Date: Tue, 6 Jan 2009 18:26:43 +0000

Folks,

I'm using setContentAspectRatio to constrain the dimensions of a window to either 4:3 or 16:9.

However, I'd also like the ability to subsequently remove the constraint altogether. If I'm reading the API right then I should be able to do a setContentAspectRatio with a NSSize specifying 0, 0. However, if I do this, any further attempt to resize the window causes it to vanish outright.

Am I going mad, or have I found a bug?

Richard
_______________________________________________

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


  • Prev by Date: Re: Cocoa-dev Digest, Vol 6, Issue 9
  • Next by Date: Large Core Data memory allocations for small rows
  • Previous by thread: Re: Cocoa-dev Digest, Vol 6, Issue 9
  • Next by thread: Large Core Data memory allocations for small rows
  • Index(es):
    • Date
    • Thread