What MCU/Processor/Board and compiler are you using?
ESP32 on ESP-IDF 4.1
What LVGL version are you using?
7.3.1
Description
Is there any way to change the spinner’s thickness?
Changing the size doesn’t help, I want a big but thin spinner.
Should I post a feature request?
This would be possible to implement in the ‘arc’ widget too.
I think you can increase the thickness using lv_style_set_line_width
on LV_SPINNER_PART_BG
(you may also need to apply it to LV_SPINNER_PART_INDIC
if the thickness doesn’t get inherited).
I think you can increase the thickness using lv_obj_set_style_line_width
on LV_SPINNER_PART_BG
(you may also need to apply it to LV_SPINNER_PART_INDIC
if the thickness doesn’t get inherited).
Yes, this works. Thank you.
However the correct function would be lv_style_set_line_width()
.
It needs to be applied to both LV_SPINNER_PART_BG
and LV_SPINNER_PART_INDIC
as you said or only one of them will be resized.