Skip to reading
GUI: Working with Grids

Set the columns and spacing

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

04 / INSIDE THE CONTAINER

A fixed three-column grid puts the fourth button at the start of the next row. You can see what the settings do before adding phone-specific rules.

Scroll down in Element Layout and Navigation to find Container children. These settings belong to the selected container.

01. Choose the arrangement

Select verb_grid General Edit layout and navigation… and scroll to Container children. Set Arrangement to grid and columns to 3.

02. Put space around and between the buttons

Set padding to 12 for space inside the border. Set gap to 8 for the space between neighboring buttons and rows. Set columnWidth to 160 for the automatic layout later, then click Apply.

03. Check the width you have left

The container is 608 pixels wide. Padding takes 12 from each side, leaving 584. Two 8-pixel gaps leave 568 for the three buttons, or about 189 pixels each.

IF THE GRID LOOKS EMPTY

That is expected. A Grid Container lays out the elements you give it. The next page adds the buttons.

Working with grids / 5

Page 5 of 12Permalink
Go to page