You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must first define a `tabview` object, and add as many as `tab` sub-objects. You need to define the `parentid` attribute to the `tabview`. Sub-objects are then placed within each `tab` as long as you define `parentid` to the `tab`.
919
+
920
+
`tabview` Attribute name|LVGL equivalent|Details
921
+
:---|:---|:---
922
+
`tab_bar_size`|`tab_bar_size`|(write-only) Set the vertical size of tab buttons.
923
+
`bg_color`|`bg_color`|Set the background color for the content background of the sub-tabs
924
+
`border_color`|`border_color`|Set the color of the overall border of tabview.
925
+
`border_width`|`border_width`|Set the border size of the overall border of tabview.
926
+
927
+
`tab` Attribute name|LVGL equivalent|Details
928
+
:---|:---|:---
929
+
`parentid`||Set to the `id` of the `tabview` it belongs to.
930
+
`text`||Set the title of the tab button; cannot be changed once the tab is created.
931
+
`tab_bg_color`||Set the background color of the tab button when it is not selected.
932
+
`tab_bg_color01`||Set the background color of the tab button when it is selected.
933
+
`tab_text_color`||Set the text color of the tab button when it is not selected.
934
+
`tab_text_color01`||Set the text color of the tab button when it is selected.
935
+
`tab_radius`||Set the radius of the tab button. Set to `0` by default for rectangular tab buttons.
936
+
895
937
### `msgbox`
896
938
897
939
The `msgbox` (message box) object allows to display a pop-up with a text content and one or multiple buttons. The pop-up can be made "modal" (not impemented yet).
0 commit comments