Skip to main content
Associate II
Mar 7, 2026 9:54 AM UTC
Solved

How to stop scrollList from scrolling when the last element in it appears?

I hope to achieve the scrolling effect like the file browser of Windows. I attached a demo video.

ZhuangweiBest answer
Associate II
Mar 8, 2026 2:18 AM UTC

I found the

void setWindowSize(int16_t items)

member function in the document of the ScrollList class, which can achieve the effect I need.

1 reply

ZhuangweiAuthorBest answer
Associate II
Mar 8, 2026 2:18 AM UTC

I found the

void setWindowSize(int16_t items)

member function in the document of the ScrollList class, which can achieve the effect I need.