# Relationship between the Screen Size and Grid

When using Grid or Scroll Grid, if the screen width cannot be divided evenly by the specified number of columns, the remainder is applied to existing columns, in order from the left column. Similarly, the remainder from dividing the screen by the specified number of rows is applied to existing rows, in order from the top row.

(Example) Screen width: 800, Screen height: 481, Grid rows: 3, columns: 3

800 / 3 = 266, remainder 2. The remainder is distributed between columns A and B.

481 / 3 = 160, remainder 1. The reminder is applied to the first row.

When using Uniform Grid, if the screen width or height cannot be divided evenly by the specified number of columns/rows, margins are generated on the right-side and bottom of the screen.