Lv_group focus border

Hi,

I have four rollers in my screen, and added them to a group for indev management. Is it possible to get rid of the focused element border?

Thanks in advance.

Julen.

if I understand you correctly. Try to create new style with outline width set to 0 and add it to the roller object with LV_STATE_FOCUS_KEY.

like the following:

    lv_style_t NO_OUTLINE;
    lv_style_init(&NO_OUTLINE);
    lv_style_set_outline_width(&NO_OUTLINE, 0);
    lv_obj_add_style(roller, &NO_OUTLINE, LV_STATE_FOCUS_KEY);
1 Like

Thanks bader! Really appreciatted. It works!

Julen.