How to make the scrollbar act like windows scrollbar


On windows (and linux I think), when you grab the scrollbar and drag it to the bottom, you see the bottom of the scrollable area (page) or if you drag it to the top, you see the top of the scrollable area. LVGL (and Android as I just checked my phone) work the opposite way. How can one emulate the windows scrollbar behaviour in LVGL?

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

Windows MSVS 22

What LVGL version are you using?


What do you want to achieve?

Make the scrollbar emulate how the windows scrollbars work.

What have you tried so far?

Nothing as I can’t see anything in the doco about this. I was going to try and handle the scroll events and set the page position myself, but I thought there may be something easier that I may be missing.