Skip to reading
The GUI Designer

6. Add, select, move and resize elements

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

1. Choose the Adventure HUD and click Add Element.

2. Choose Label. The new control appears on the canvas and in GUI Elements.

3. In General, change ID to objective_label and Editor Name to Objective Label, using a unique ID within this GUI.

4. Set its X, Y, Width and Height, then use Text & Content for the words.

5. Save the project after the live edits have been accepted.

Figure 8. A new element has its own General tab. Editor Name is a label for you; its ID is used by actions and scripts.

Source table from 6. Add, select, move and resize elements, page 13
TaskHow to do it
Select a covered controlChoose it from GUI Elements rather than clicking through other artwork.
MoveDrag the selected control, or enter exact X and Y values.
ResizeDrag an edge or corner, or enter Width and Height. The editing safety minimum is 12 by 12.
Select severalCtrl-click adds or removes controls from the selection.
Fine movementFocus the canvas and use arrow keys. See the note below for Shift.

An arrow nudge is one design pixel. Shift uses ten pixels when Snap is off; with Snap on it uses the current grid step. The default grid step is ten, so the usual starting behavior is the same.

Page 13 of 57Permalink
Go to page