Reimplement our patch to lv_list button long modes

This commit is contained in:
jacqueline
2024-06-13 12:46:02 +10:00
parent 82ec765d2d
commit 14416dc358
+1 -1
View File
@@ -98,7 +98,7 @@ lv_obj_t * lv_list_add_button(lv_obj_t * list, const void * icon, const char * t
if(txt) {
lv_obj_t * label = lv_label_create(obj);
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);
}