Skip to reading
GUI Styling, Shaders & Effects

1. Choose the surface before the color

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 PDF page
Source table from 1. Choose the surface before the color, page 4
You selected…You are styling…Typical controls
GUI WindowThe containing window and its chrome.Window background, outer border, title bar, close control.
An ordinary elementThat Button, Label, Panel, Image or other control.Text, background, corners, image states and element shaders.
A composite widgetIts outer surface and its repeated internal parts.Grid, slots, save screenshots, navigation and text styles.
The editor’s Theme buttonThe application workspace around your game.Editor chrome, inspector controls and the authoring environment.

A GUI is built from several surfaces. The window is the outer container. A Panel can make a smaller card inside it. A Button can sit on that card. Each has its own color and corner settings.

Start by clicking the intended item in the GUI Elements list. Check the inspector heading before editing. To work on the window itself, use GUI Window in the designer toolbar. The inspector will then show the window’s properties instead of the last selected element.

Putting a Button over a Panel does not make the Button share all of the Panel’s styles. Likewise, a shader on a Panel is not automatically a whole-window filter over every element you can see nearby.

Page 4 of 70Permalink
Go to page