Skip to reading
Buttons, Labels & Text Boxes

Style the frame without hiding the text

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Visual Style controls the surface, outline, state colors and corners. Text & Content controls the lettering. Images supplies the artwork used behind the control or for its states.

Source table from Style the frame without hiding the text, page 9
ControlUseful starting approach
Background ColorChoose enough contrast against both the text and the room.
Surface OpacityMake the surface quieter without assuming the text should fade by the same amount.
Border Color / Border OpacityKeep the field or button edge visible over the scene.
Hover / Pressed BackgroundUse related colors that visibly acknowledge the pointer and a held press.
Border RadiusThe default curve for the element's corners.
Four corner overrides-1 inherits the overall radius; 0 is square; a positive number supplies that corner's curve.

Figure 6. Corner settings belong to this element. An explicit corner override can differ from the overall Border Radius.

The example uses dark blue surfaces and light lettering. The particular colors are optional. What matters is that the player can see the frame and read its contents over the room.

Metallic Look and Reflection Strength are GUI surface finishes. They do not turn a text field into a mirror showing the 3D character. Use Element Shader sparingly when text still needs to be read.

Page 9 of 46Permalink
Go to page