4. Plan the host and its pages
Set up the IDs before you start linking tabs. The three references below look similar, but each has a different job.
| Reference | Example | Where it belongs |
|---|---|---|
| Panel ID | notebook_tabs | General → ID on the panel element. |
| Local tab ID | clues | First part of one entry in the Tabs field. |
| Page GUI ID | clues_page | Third part of that tab entry; identifies a whole GUI. |
| Visible tab caption | Clues | Second 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.
| Layout | Example dimensions |
|---|---|
| Project GUI canvas | 1280 × 720 |
| Notebook host GUI | 1120 × 660, centered |
| Panel inside the host | X 24, Y 76, Width 1072, Height 544 |
| Each content page GUI | 1072 × 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.
