Skip to reading
Panels, Tabs & List Boxes

3. Make an ordinary panel

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

A plain panel is a useful backing for text, buttons or a portrait. It draws a surface; it does not turn its own Text field into a heading. Add a Label for that.

1. Choose your page GUI, click Add Element and choose Panel.

2. Give the panel a clear ID, such as summary_panel, and an editor name such as Summary Panel.

3. In General, set Anchor to top-left. Enter X 24, Y 28, Width 1024 and Height 232 for the example Notes page.

4. Set the panel’s Z Index below the labels you will place over it. In the example, the panel is 0 and the labels are 1.

Figure 4. General holds the panel’s group, anchor and dimensions. These coordinates belong to its GUI.

A panel does not automatically collect nearby elements as children. A Label drawn over a plain panel remains a separate element in the GUI.

Page 6 of 50Permalink
Go to page