View Single Post
Old 30 December 2017, 21:38   #1668
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,346
It's the same as the window title bar, IIRC it's the size of the screen font +3 pixels, so if you use the default Topaz 8 font, the screen bar will be 11 pixels high. This isn't guaranteed though, changing the appearance using VisualPrefs or other patches, or newer versions of the OS (e.g. OS 4) can and will change this, and so you shouldn't rely on the size being calculated like that. Instead, it's possible to query the screen's structure and determine the title bar height, so if your program depends on screen height, you can always adjust to match any screen.
Daedalus is offline  
 
Page generated in 0.04331 seconds with 11 queries