Description
When adding lists, sometimes the scrollbar is not shown
What MCU/Processor/Board and compiler are you using?
Simulator in CodeBlocks, v7-dev
What do you experience?
In my program, I add several lists, but only the first one shows the scrollbars. I had it configured in auto mode at the beginning, and the second list inherited the first and was not shown. I have configured in mode ON, and set again the scrollbar mode in the second list, but does not show up.
What do you expect?
In my program, when using v6, the lists inherited correctly the modes, and showed the scrollbars correctly.
Code to reproduce
I have actualliy tested this code (is a simplification of my whole code) and the scrollbars only show in the first list
lv_obj_t * scr;
lv_obj_t* list, *pre_list;
scr = lv_obj_create(NULL, NULL);
list = lv_list_create(scr, NULL);
lv_list_set_sb_mode(list, LV_SCRLBAR_MODE_ON);
pre_list = list;
list = lv_list_create(scr, list);
lv_list_set_sb_mode(list, LV_SCRLBAR_MODE_ON);
lv_obj_align(list, pre_list, LV_ALIGN_OUT_RIGHT_TOP, 5, 0);
lv_disp_load_scr(scr);
Screenshot and/or video
If possible, add screenshots and/or videos about the current issue.