Changingcolor to tabview's buttonmatrix selected button

Hi, I’m pretty new to LVGL and I can’t find examples or informations about this topic.
The question is: can I change color to the selected button of a tabview or giving a different selection color to its buttonmatrix’s buttons?
Thanks so much!

Yes, you can do it with

    lv_obj_t * tab_btns = lv_tabview_get_tab_btns(tabview);
    lv_obj_set_style_bg_color(tab_btns, lv_color_hex(0x0088ff), LV_PART_ITEMS | LV_STATE_CHECKED);
1 Like