On May 7, 2008, at 3:52 PM, Sean McBride wrote:
I suspect that back in the
NeXTStep days it actually did centre it. But when NeXTStep merged with
Mac OS, the behaviour was changed to match the Mac OS behaviour.  In
Classic Mac OS this position is called the 'alert position'.  See for
example the docs for the kWindowAlertPositionMainScreen constant, and
contrast with kWindowCenterMainScreen.

After a quick test it *looks* like the ratio of top to bottom margins is 1:3, after removing the heights of the menu bar and the Dock. This is different from the ratios documented for either kWindowAlertPositionMainScreen or kWindowCenterMainScreen.

For some reason I thought Classic Mac OS used a ratio of 1:2, but that could be my memory playing tricks on me.

--Andy

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to