Is there a way to put the first option of the roller widget on the top instead of the middle when using it in Normal mode?


I am trying to use the roller widget like a list but with a focus and with anim when it moves between options.

What MCU/Processor/Board and compiler are you using?

LVGL simulator

What LVGL version are you using?

the latest

What do you want to achieve?

I want to able to have a list like widget with a focus and animation when it moves

What have you tried so far?

I tried tweaking the roller class but i cant find the code where we set the position of the starting point within the roller widget.

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.