1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

38 lines
853 B
ReStructuredText
Raw Normal View History

2021-05-17 15:38:42 +02:00
A simple row and a column layout with flexbox
---------------------------------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_1
2021-05-17 15:38:42 +02:00
:language: c
Arrange items in rows with wrap and even spacing
------------------------------------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_2
2021-05-17 15:38:42 +02:00
:language: c
2021-05-17 15:38:42 +02:00
Demonstrate flex grow
---------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_3
2021-05-17 15:38:42 +02:00
:language: c
2021-05-17 15:38:42 +02:00
Demonstrate flex grow.
----------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_4
2021-05-17 15:38:42 +02:00
:language: c
2021-05-17 15:38:42 +02:00
Demonstrate column and row gap style properties
-----------------------------------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_5
2021-05-17 15:38:42 +02:00
:language: c
2021-05-17 15:38:42 +02:00
RTL base direction changes order of the items
---------------------------------------------
2021-05-17 15:38:42 +02:00
2021-05-17 16:27:37 +02:00
.. lv_example:: layouts/flex/lv_example_flex_6
2021-05-17 15:38:42 +02:00
:language: c
2021-05-17 15:38:42 +02:00