|
|
@ -98,7 +98,7 @@ lv_obj_t * lv_list_add_button(lv_obj_t * list, const void * icon, const char * t |
|
|
|
if(txt) { |
|
|
|
if(txt) { |
|
|
|
lv_obj_t * label = lv_label_create(obj); |
|
|
|
lv_obj_t * label = lv_label_create(obj); |
|
|
|
lv_label_set_text(label, txt); |
|
|
|
lv_label_set_text(label, txt); |
|
|
|
lv_label_set_long_mode(label, LV_LABEL_LONG_SCROLL_CIRCULAR); |
|
|
|
lv_label_set_long_mode(label, LV_LABEL_LONG_CLIP); |
|
|
|
lv_obj_set_flex_grow(label, 1); |
|
|
|
lv_obj_set_flex_grow(label, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|