Skip to main content
Associate II
March 7, 2026
Solved

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

  • March 7, 2026
  • 1 reply
  • 348 views

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

Best answer by Zhuangwei

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
March 8, 2026

I found the

void setWindowSize(int16_t items)

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