Skip to reading
Panels, Tabs & List Boxes

4. Plan the host and its pages

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

Set up the IDs before you start linking tabs. The three references below look similar, but each has a different job.

Source table from 4. Plan the host and its pages, page 9
ReferenceExampleWhere it belongs
Panel IDnotebook_tabsGeneral → ID on the panel element.
Local tab IDcluesFirst part of one entry in the Tabs field.
Page GUI IDclues_pageThird part of that tab entry; identifies a whole GUI.
Visible tab captionCluesSecond part of the entry. Players read this.

Editor Active Tab takes the local tab ID: clues. It does not take clues_page or notebook_tabs. The readable caption can change later without breaking references if you keep the IDs stable.

Source table from 4. Plan the host and its pages, page 9
LayoutExample dimensions
Project GUI canvas1280 × 720
Notebook host GUI1120 × 660, centered
Panel inside the hostX 24, Y 76, Width 1072, Height 544
Each content page GUI1072 × 510

The panel’s tab strip uses some of its height. With a tab font size of 22, the strip is 34 pixels high in this example, leaving 510 for page content. Leave room for the host title and Close button above it.

Use unique GUI IDs and unique element IDs throughout the project. This guide uses distinctive IDs even on different page GUIs, which avoids ambiguous runtime references.

Page 9 of 50Permalink
Go to page