The Grid layout is a subset of CSS Flexbox.
describe the size of columns The property with the following value
- pixel value
- auto
- fr
describe the size of rows The property with the following value
- pixel value
- auto
- fr
If there are some empty space the rows can be aligned several ways The property with the following value
- start
- end
- center
- space-evenly
- space-around
- space-between
If there are some empty space the column can be aligned several ways:
- start
- end
- center
- space-evenly
- space-around
- space-between
unlike html5 css grid, lvgljs grid child must set style like grid-child: true, otherwise the child will not in parent grid layout
specifies a grid item's start position within the grid column
specifies a grid item's start position within the grid row
specifies a grid item's row span
specifies a grid item's column span
determine how to align the children in its cell, with the following value
- start
- center
- end
- stretch
determine how to align the children in its cell
- start
- center
- end
- stretch
test/grid