docs(tabview): fix tabview doc (#5588)
This commit is contained in:
@@ -68,19 +68,18 @@ Set tab bar position
|
|||||||
Using the :cpp:expr:`lv_tabview_set_tab_bar_position(tabview, LV_DIR_LEFT/RIGHT/TOP/BOTTOM)`
|
Using the :cpp:expr:`lv_tabview_set_tab_bar_position(tabview, LV_DIR_LEFT/RIGHT/TOP/BOTTOM)`
|
||||||
the tab bar can be moved to any sides.
|
the tab bar can be moved to any sides.
|
||||||
|
|
||||||
Set tab bra size
|
Set tab bar size
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
The size of the tab bar can be adjusted by :spp:expr:`lv_tabview_set_tab_bar_size(tabview, size)`
|
The size of the tab bar can be adjusted by :cpp:expr:`lv_tabview_set_tab_bar_size(tabview, size)`
|
||||||
In case of vertical arrangement is means the height of the tab bar, and in horizontal
|
In case of vertical arrangement is means the height of the tab bar, and in horizontal
|
||||||
arrangement it means the width.
|
arrangement it means the width.
|
||||||
|
|
||||||
Get the parts
|
Get the parts
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
:cpp:expr:`lv_tabview_get_content(tabview)` returns the container for the tabs,
|
- :cpp:expr:`lv_tabview_get_content(tabview)` returns the container for tabs content
|
||||||
:cpp:expr:`lv_tabview_get_tab_buttons(tabview)` returns the Tab buttons object
|
- :cpp:expr:`lv_tabview_get_tab_bar(tabview)` returns the container for tabs buttons
|
||||||
which is a :ref:`Button matrix <lv_buttonmatrix>`.
|
|
||||||
|
|
||||||
.. _lv_tabview_events:
|
.. _lv_tabview_events:
|
||||||
|
|
||||||
@@ -98,8 +97,8 @@ Learn more about :ref:`events`.
|
|||||||
Keys
|
Keys
|
||||||
****
|
****
|
||||||
|
|
||||||
Keys have effect only on the tab buttons (Button matrix). Add manually
|
Keys have effect only on the tab buttons.
|
||||||
to a group if required.
|
Add manually to a group if required.
|
||||||
|
|
||||||
Learn more about :ref:`indev_keys`.
|
Learn more about :ref:`indev_keys`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user