Skip to reading
The GUI Designer

10. Style the surface and lettering separately

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

0.86.4.0 walkthrough / Update a GUI while someone types > p. 50

Open Visual Style for the selected element. It controls the surface, border, colors and corner shape. Text & Content still controls the lettering.

Figure 16. Visual Style starts with surface and reflection controls, then continues into the ordinary shape and color settings.

Source table from 10. Style the surface and lettering separately, page 21
ControlWhat to check
Surface OpacityThe surface strength. Do not use it as a substitute for Text Opacity.
Border Opacity / Border ColorHow visible the outline is and which color it uses.
Background ColorThe control's normal surface color.
Hover BackgroundThe pointer-over surface color.
Pressed BackgroundThe held-press surface color.
Metallic Look / Reflection Strength / ColorA GUI surface finish. It is not a live mirror of the scene.

Use the color picker to choose the hue and alpha where available. A bright room behind a translucent HUD can make text disappear, so judge the combination over the room you actually intend to use.

The shared typed form exposes the border color and opacity. A normal element's borderWidth can also be stored or changed through advanced JSON/property actions; the main GUI window has its own explicit Border Width field.

Page 21 of 57Permalink
Go to page