Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you center a window along the horizontal axis?



This appears to be normal behavior. The documentation says that the window will be centered only horizontally. In particular, the "center" command positions the window "in the center horizontally and somewhat above center vertically. Such a placement carries a certain visual immediacy and importance."

Details at:

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Java/Classes/NSWindow.html#//apple_ref/doc/uid/20000669/BCIBCBFC


On Oct 28, 2004, at 8:03 PM, Mailing List wrote:

tell window "main" to center

on an awake from nib, the window only centers on the vertical axis of the screen. I would like the window to truly center on all screen sizes along both the horizontal and vertical axis. Is there a trick that I am missing or is this just a known bug?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >How do you center a window along the horizontal axis? (From: Mailing List <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.