Title bars, close controls and consistent framing
Figure 13. The title bar has its own background, text and font settings.
Use Show Title Bar when the window benefits from a clear heading or draggable chrome. Choose its height, background, caption font/color and alignment. Leave enough horizontal room for the close control and any title icon.
The Close Button has separate normal, hover and pressed backgrounds, text or image content, dimensions, border and its own common radius. Its shape is independent of the window’s outer corners.
Title icons and close controls have placement choices. In the example the close control is upper-right. Use a visible, generous hit area when the game supports touch, and confirm that an ornamental image still communicates “close.”
Rounding the outer window does not automatically round every title-control surface the same way. Work from the window outward: body, title bar, close control and then the content.
