Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QScroller scroll too fast on android.



  • Hi,
    I am developing a qt app on android.I use QListWidget to show the filesystem.
    Here is my code using QScroller:

    QScroller* scroller = QScroller::scroller(listWidget);
    scroller->grabGesture(listWidget,QScroller::LeftMouseButtonGesture);
    

    listWidget is a QlistWidget;
    Everything works well except that the scroller is too fast. my finger moves a short distance, and the scroller has gone to the end.
    How to slow the scroller?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You can try to change that through QScrollerProperties.

    Hope it helps


Log in to reply