Skip to reading
GUI: Working with Grids

Which grid do I need?

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

01 / FIND YOUR TOOL

Start with what the player should see. Three tools use the word “grid,” and only one of them arranges ordinary buttons.

The six verbs are six separate Button elements. The thin lines behind them belong to the editing canvas.

01. For lining things up by hand

Use Grid on the toolbar to see the guides. Turn on Snap to move elements in steps. The number beside it sets the spacing in design pixels. Scroll the toolbar sideways if those controls are out of sight.

02. For a menu that rearranges itself

Choose Add Element Grid Container. Give existing buttons this container as their layout parent. The container then puts each managed button in a cell. Start on the next page.

03. For inventory or saved games

Choose Inventory Grid for carried items, or Save Game Widget for save slots. Each widget already knows how to fill its own slots. Jump to pages 10 and 11 for those controls.

A QUICK WAY TO TELL

If you switch off the toolbar Grid, the dotted guides disappear. The verb buttons still sit in their rows.

Working with grids / 2

Page 2 of 12Permalink
Go to page