i have a thin horizontal window that i want to extend from the left to right of the screen but always be, say, 20 pixels below the menu bar.
in Interface builder the coordinates start at the bottom left of the screen, and since all screens can be different size, if i use IB to position my window on my 24" iMac, it will be positioned wrong on a 20" iMac.
menubar has what, 22pixels? so how can i tell my code to find the top of the screen and move down 42 pixels?
sorry if this is a dumb question.
in Interface builder the coordinates start at the bottom left of the screen, and since all screens can be different size, if i use IB to position my window on my 24" iMac, it will be positioned wrong on a 20" iMac.
menubar has what, 22pixels? so how can i tell my code to find the top of the screen and move down 42 pixels?
sorry if this is a dumb question.