cocoa - Centering Windows on screen -


Small and sweet: How can I tell the interface builder to focus a window on the user's screen? I have seen the positioning tool on the inspector, but Ibyiling does not always land in the form of intersection as I want. Is there anything where I should switch to Xcode and add something to the init or awakeFromNib methods?

you use [center of the window] as per Answer by Wahake May be, but it may not be exactly what you want. States that this window is horizontally centered, but to some extent vertical center will be placed above. This way there is a visual prominence near the window.

If you want to keep your window in the Precise center, you will work for manual positioning (as commented by Kenning Bard XIV).


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -