summaryrefslogtreecommitdiff
path: root/lib/lvgl/examples/layouts/flex/index.rst
blob: 3c4e7735259215e448a489f502db61ad84e7e036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
A simple row and a column layout with flexbox
---------------------------------------------

.. lv_example:: layouts/flex/lv_example_flex_1
  :language: c

Arrange items in rows with wrap and even spacing
------------------------------------------------

.. lv_example:: layouts/flex/lv_example_flex_2
  :language: c

Demonstrate flex grow
---------------------

.. lv_example:: layouts/flex/lv_example_flex_3
  :language: c

Demonstrate flex grow.
----------------------

.. lv_example:: layouts/flex/lv_example_flex_4
  :language: c

Demonstrate column and row gap style properties
-----------------------------------------------

.. lv_example:: layouts/flex/lv_example_flex_5
  :language: c

RTL base direction changes order of the items
---------------------------------------------

.. lv_example:: layouts/flex/lv_example_flex_6
  :language: c