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:
@@ -83,6 +83,16 @@ All the Flex-related values are style properties under the hood and you can use
|
|||||||
- `FLEX_TRACK_PLACE`
|
- `FLEX_TRACK_PLACE`
|
||||||
- `FLEX_GROW`
|
- `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
|
## Other features
|
||||||
|
|
||||||
### RTL
|
### RTL
|
||||||
|
|||||||
@@ -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_POS`
|
||||||
- `GRID_CELL_ROW_SPAN`
|
- `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
|
## Other features
|
||||||
|
|
||||||
### RTL
|
### RTL
|
||||||
|
|||||||
Reference in New Issue
Block a user