Skip to reading
Panels, Tabs & List Boxes

Before you begin

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

0.86.4.1 HOTFIX 1 / OPEN UPDATED CHAPTERS > PAGE 49

This guide starts with an ordinary panel, turns a panel into a set of tabs, then builds lists that the player can select and use. The running example is a workshop notebook with Notes, Clues and Items pages.

You can follow along in an existing project. Use a copy if you want to experiment. No separate practice project is needed, and none is supplied with this guide. The screenshots come from the editor and its game preview.

What you should already know#

Be comfortable opening the GUI Designer, adding a Label or Button, changing an element’s position and saving your project. The earlier GUI tutorials cover those first steps. The GDScript examples here are complete small scripts, with their setup explained beside them.

Source table from Before you begin, page 2
When the guide says…It means…
GUIA whole interface, such as a notebook window or one notebook page.
PanelAn element inside a GUI. It can draw a surface or hold linked tab pages.
List boxAn element that displays rows and keeps track of selected row IDs.
ID / nameThe ID is a stable reference. The name is the readable label shown in the editor.

The field names and behavior were checked against 0.86.3.4. Later builds may move a control or change a limitation. The workflow is the same across desktop platforms; window decorations and file dialogs can look different.

Element property fields normally update live. Whole-GUI settings and script editors have their own Apply controls. After applying those changes, use Save Project to keep the authoring work.

Page 2 of 50Permalink
Go to page