Skip to reading
Panels, Tabs & List Boxes

Choose a panel, container or list

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
PANELS, TABS AND LIST BOXES                                                                     0.86.4.1  /  HOTFIX 1

EDITION UPDATE

A panel can hold artwork and tabs. A layout container arranges children. A List Box is for choosing rows of data. They are separate choices in Add Element.

For a layout-managed button set Layout parent to the container ID and Position to managed. Legacy Parent Panel ID is a separate field.

01. Keep an existing tabbed panel

Continue assigning its tab IDs and tab content as described in the panel chapters. For a row of free-standing buttons choose Horizontal Container; for equal-width columns choose Grid Container. A visual Group and an element’s layout parent have different jobs.

02. Arrange children in reading order

For each button choose General Edit layout and navigation…, set Layout parent and managed position, and Apply. Use Arrange Earlier/Later in layout container to change the reading order. Check Tab order separately for keyboard users.

03. Bind one selected row

On a single-selection List Box the link beside Selected Item Variable binds the string property selectedId. Choose a text game variable for an editable selection or choose option.draft language for an Options language selector. Set two_way and leave Convert at none.

IF ONLY THE HIGHLIGHT CHANGES

A selection and a button action are different events. Decide if selecting a row should merely select it, or if an existing GUI action should also perform a game action.

PCA 3D ADVENTURE STUDIO                                                                Panels, tabs and list boxes   /   49
Page 49 of 50Permalink
Go to page