Do you have an upper number of roller objects?

What LVGL version are you using?

V8.1

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


4})Z`ATS106F)%L{UK

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


IHKQT50G50}8~114T0FAE%J

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


X$Z1F37W3ZNC%S5I89RMT5

What should I do

Is LV_USE_LARGE_COORD enabled in lv_conf.h?

1 Like

Thank you, It works