Hi,
how to remove particular showed in arrow?
the spinner have same knob…
this is the last version of LVGL!
In the current version you have to make the knob transparent using styles and disable click events on the arc object. We agreed that this is too cumbersome, and the next version should have an lv_arc_set_adjustable
API that will disable the knob automatically.
Thanks for reply
Yes, i have insert this for arc:
lv_obj_set_click(arc, false);
lv_obj_set_style_local_border_opa(arc, LV_ARC_PART_BG, LV_STATE_DEFAULT, 0);
lv_obj_set_style_local_bg_opa(arc, LV_ARC_PART_BG, LV_STATE_DEFAULT, 0);
and this for preload:
lv_obj_set_click(preload, false);
lv_obj_set_style_local_opa_scale(preload, LV_ARC_PART_KNOB, LV_STATE_DEFAULT, 0);
Now it’s like before.
I’ve just added lv_arc_set_adjustable
to the dev
branch.
Tested new add, it’s ok.
Great.
Hi, i test arc with knob, with this settings…
/Create an Arc/
lv_obj_t * arc = lv_arc_create(lv_scr_act(), NULL);
lv_arc_set_bg_start_angle(arc, 0);
lv_arc_set_bg_end_angle(arc, 360);
lv_arc_set_start_angle(arc, 0);
lv_arc_set_end_angle(arc, 0);
but may be an issue. Watch the video.
Thanks for the report; this shouldn’t be too hard to fix. I’ll take a look soon.
Hi @embeddedt,
how to add knob to widget “line” ? can i extend “line” component?
It’s difficult?
Maybe a new slider with any forms!
Thanks