Skip to main content
BParh.1
Senior III
August 4, 2021
Question

Method allowVerticalDrag() in scroll list container does not seem to work

  • August 4, 2021
  • 0 replies
  • 577 views

I setup a scroll list with particular template with n items. Since the items currently fit to the size of container, then I want to disable vertical drag.

I did this :

scrollList.allowVerticalDrag(false);

scrollList.invalidate()

where scrollList is an instance of class touchgfx::ScrollList

But my list can still be dragged vertically. Anything I did wrong?

This topic has been closed for replies.