Do you have an upper number of roller objects?

What LVGL version are you using?


What do you want to achieve?

I want to add more than 255 objs in roller, but there is something wrong

When the number of objs are less than 255, is it normol, the selected obj is in the middle of “BLUE”.
Now, there are 255 objs


But more than 255, shifting is happen. With moving, the selected obj is not in the middle of “BLUE” anymore. (the “JUNE” is not in the middle)
Now, there are 256 objs


And if objs are more than 255, The more objects, the more pronounced the offset is.
Now, there are 300 objs, the shifting is happed in the second objs


What should I do

Is LV_USE_LARGE_COORD enabled in lv_conf.h?

1 Like

Thank you, It works