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 (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

Reply via email to