Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LVGL] Add lv_tabview #301

Closed
dolence opened this issue Feb 7, 2024 · 3 comments
Closed

[LVGL] Add lv_tabview #301

dolence opened this issue Feb 7, 2024 · 3 comments
Assignees
Milestone

Comments

@dolence
Copy link

dolence commented Feb 7, 2024

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

Example: lv_tabview

@mvladic mvladic self-assigned this Apr 8, 2024
@mvladic mvladic added this to the M19 milestone Apr 8, 2024
@mvladic mvladic modified the milestones: M19, M20 May 10, 2024
@mvladic mvladic modified the milestones: M20, M21 Jun 6, 2024
@mvladic mvladic changed the title Add lv_tabview [LVGL] Add lv_tabview Jun 15, 2024
@Jvsjvs
Copy link

Jvsjvs commented Jun 27, 2024

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

mvladic added a commit that referenced this issue Jul 10, 2024
@mvladic
Copy link
Contributor

mvladic commented Jul 10, 2024

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

@Jvsjvs
Copy link

Jvsjvs commented Jul 11, 2024

Great, thanks!

@prasimix prasimix closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants