Make the grid fit its frame
Work out the minimum space before filling in the dimensions. If a grid clips its last row, making the outer frame prettier will not fix the missing space.
| Direction | Minimum before headers or arrows |
|---|---|
| Width | Columns × Slot Width + horizontal gaps between columns + left/right padding. |
| Height | Rows × Slot Height + vertical gaps between rows + top/bottom padding. |
| Arrows below | Allow an extra navigation row and its separation. |
| Arrows on the right | Allow an extra navigation column. A long vertical arrow group also needs height. |
| Header enabled | Allow space for the title/header above the grid. |
For the DOTT example: three 174-pixel slots with two 6-pixel horizontal gaps need 534 pixels before padding. The right-side navigation and padding fit inside the 619-pixel widget width.
Disable arrows you do not use. A pair of up/down arrows is easier to fit into a shallow HUD than four arrows arranged vertically. Page arrows move between groups; row arrows move by rows.
Item count is not the same as page size. A four-slot display can still show ten carried items through navigation. Test with one more item than fits on the first page.
