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
lv_obj_set_style_border_side() doesn't work! #6149
Comments
Oh, I see now. This border is on the the button, but the container of the buttons. This style is applied on the tab view buttons. |
Thanks, I got it. |
Yes, you can do this to get the buttons: lv_obj_t * tab_bar = lv_tabview_get_tab_bar(tv);
lv_obj_t * btn1 = lv_obj_get_child(tab_bar, 0);
lv_obj_t * btn2 = lv_obj_get_child(tab_bar, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LVGL version
v9.1
What happened?
The function "lv_obj_set_style_border_side" is utilized to adjust the border side, as illustrated in the example. However, it encounters issues and fails to be applied to the buttons. The border always drawn at the bottom!
How to reproduce?
The text was updated successfully, but these errors were encountered: