Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions content/components/lvgl/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ The configuration `layout: horizontal` is a shorthand for a flex layout:
flex_align_cross: stretch
```

In addition, if the option `pad_all` is set on the container (thus applying padding to the outside) the same
padding will be applied between the columns, i.e. `pad_column` will be set.

### Vertical Layout

The configuration `layout: vertical` is a shorthand for a flex layout:
Expand All @@ -54,6 +57,8 @@ The configuration `layout: vertical` is a shorthand for a flex layout:
flex_align_cross: stretch
```

Similarly to the `horizontal` layout, using `pad_all` on the container will also apply that padding between rows.

### Flex

The Flex layout in LVGL is a subset implementation
Expand Down
Loading