Hi,
I’m trying to get the background of a lv_spinner to be transparent. I’m creating it like this:
lv_obj_t * busyIndicator = lv_spinner_create(mainPanel, NULL);
lv_obj_set_size(busyIndicator, 50, 50);
lv_obj_align(busyIndicator, NULL, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_local_line_width(busyIndicator, LV_SPINNER_PART_INDIC, LV_STATE_DEFAULT, 5);
Resulting in:
using
v_obj_set_style_local_bg_opa(busyIndicator, LV_SPINNER_PART_BG, LV_STATE_DEFAULT, 50);
results in:
Regards
Pierre