Skip to reading
GUI: Working with Grids

Put the buttons in the grid

Edition 0.86.4.1 HF1

New illustrated guide for 0.86.4.1 Hotfix 1, covering desktop/phone grid layouts and built-in inventory/save widgets.

Download PDFView illustrations

05 / GIVE EACH CONTROL A PARENT

Use the existing verbs in their current GUI. A button keeps its ID and click actions when you change how it is positioned.

Talk has verb_grid as its layout parent and managed as its position. These are the two fields to check for every button.

01. Select or add a button

If you need one, choose Add Element Button. In General, give it the ID look and a height of 44. In Text & Content, enter Look. Use your current button actions if it already has them.

02. Let the grid place it

In General Edit layout and navigation…, set Layout parent to verb_grid and Position to managed. Click Apply. Repeat for Talk, Use, Take, Give and Open.

03. Put the verbs in reading order

Set Child order to 0 through 5 for Look, Talk, Use, Take, Give and Open respectively. You can also select a child and choose Arrange Earlier in layout container or Later in layout container.

CHECK THE CANVAS

The first row reads Look, Talk, Use. The second reads Take, Give, Open. If one button stays where you dragged it, reopen its layout dialog and check both fields shown above.

Working with grids / 6

Page 6 of 12Permalink
Go to page