lv_list: label ROLL bugfix
This commit is contained in:
@@ -160,8 +160,8 @@ lv_obj_t * lv_list_add(lv_obj_t * list, const char * img_fn, const char * txt, l
|
||||
lv_label_set_text(label, txt);
|
||||
lv_obj_set_style(label, ext->styles_btn[LV_BTN_STATE_REL]);
|
||||
lv_obj_set_click(label, false);
|
||||
lv_label_set_long_mode(label, LV_LABEL_LONG_ROLL);
|
||||
lv_obj_set_width(label, liste->cords.x2 - label->cords.x1);
|
||||
lv_label_set_long_mode(label, LV_LABEL_LONG_ROLL);
|
||||
}
|
||||
|
||||
return liste;
|
||||
|
||||
Reference in New Issue
Block a user