setContentAspectRatio on window
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