docs(layout) add internal padding paragraph to grid and flex layout p… (#2392)

* docs(layout) add internal padding paragraph to grid and flex layout pages

* docs(layout) inlined bulletpoints
This commit is contained in:
EnricoLusaEGF
2021-07-22 11:36:40 +02:00
committed by GitHub
parent 533066e6ac
commit 95bf16952e
2 changed files with 17 additions and 0 deletions

View File

@@ -83,6 +83,16 @@ All the Flex-related values are style properties under the hood and you can use
- `FLEX_TRACK_PLACE`
- `FLEX_GROW`
### Internal padding
To modify the minimum space flexbox inserts between objects, the following properties can be set on the flex container style:
- `pad_row` Sets the padding between the rows.
- `pad_column` Sets the padding between the columns.
These can for example be used if you don't want any padding between your objects: `lv_style_set_pad_column(&row_container_style,0)`
## Other features
### RTL

View File

@@ -84,6 +84,13 @@ All the Grid related values are style properties under the hood and you can use
- `GRID_CELL_ROW_POS`
- `GRID_CELL_ROW_SPAN`
### Internal padding
To modify the minimum space Grid inserts between objects, the following properties can be set on the Grid container style:
- `pad_row` Sets the padding between the rows.
- `pad_column` Sets the padding between the columns.
## Other features
### RTL