studio icon indicating copy to clipboard operation
studio copied to clipboard

[LVGL] Add lv_tabview

Open dolence opened this issue 2 years ago • 3 comments

The object lv_tabview used to organize the content using tabs is missing.

Example: lv_tabview

dolence avatar Feb 07 '24 06:02 dolence

Please also add the: "Container" object. This is used frequently to create an hierarchy in the UI layout structure (e.g. in the tabview).

Thanks

Jvsjvs avatar Jun 27 '24 07:06 Jvsjvs

Please also add the: "Container" object. This is used frequently to create an hierarchy in the UI layout structure (e.g. in the tabview).

In the latest version I added Container widget exactly for the purpose you described. So you can add two container widgets to the TabView, one for the Bar and another for the Content. When you do this then you should put Tab widgets under the Content. This configuration is useful when you want to style Bar and Content part of the TabView. This is optional, if you don't need to style TabView then you can place Tab widgets immediately under TabView.

image

mvladic avatar Jul 10 '24 10:07 mvladic

Great, thanks!

Jvsjvs avatar Jul 11 '24 06:07 Jvsjvs