Game Development Community

Window Title Bar Text

by MMPlus (Greg) · in Game Design and Creative Issues · 10/13/2008 (2:07 pm) · 2 replies

The bitmap I'm creating for my window elements has a drop shadow, which makes the pixel dimensions for the window's title bar apparently taller than the gui control expects. As a result, my window's title does not appear centered within the space I've designed for it, but rather above that area where my drop shadow is. In all the controls for the window gui, I don't see anything that looks like I can change the position of the title for my window... no leading or kerning or other such options as you would find in a design program. Am I limited to having my window title only where the game engine wants it to be?

#1
10/13/2008 (2:12 pm)
Also, is there a section anywhere in the official documentation or on TDN that gives a comprehensive explanation of the different elements of a gui window and exactly what does what? I feel like I've seen something like that before but can't find it again. It seems like documentation for this thing is never quite enough to even just give the basics of everything.
#2
10/14/2008 (6:51 am)
Ooops, I just discovered the text offset property.