Skip to reading
Save Games & Inventory

5. Give the grid enough room

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

Figure 10. Visible Columns, Visible Rows and Visible Slots describe capacity. Slot Width and Height describe each cell.

For the first menu, use 3 columns, 2 rows and 6 visible slots. The effective page capacity cannot exceed columns × rows. Asking for 12 visible slots in a 3 × 2 layout does not create two extra rows.

Slot Width and Height do not automatically shrink to fit the widget. If the cells need more room than the element provides, internal scrollbars or clipping appear. Enlarging the outer element also does not automatically enlarge every cell.

Begin with a simple rectangle. Fit the cells, header and arrows. Add decorative padding and artwork after the layout works at the game’s intended resolution.

Page 15 of 96Permalink
Go to page