How to stop QML ListView from bouncing ?
-
Hello,
Is there a way to stop a ListView from bouncing when I scroll up or down and reach the limits of the list ?
If I scroll faster with my mouse the list takes some speed and at some point my list bounces back to its place.
Hopefully there is some way to prevent this behaviour, I would like to normally scroll my ListView element without the bouncing.
Thanks
-
Use the inherited "boundsBehaviour":http://qt-project.org/doc/qt-4.8/qml-flickable.html#boundsBehavior-prop property (stopAtBounds).
-
Pleasure. Happy coding :)
-
Hello,
I am controlling the ListView with the keyboard touchpad on the laptop. There is a noticeable bounce back from reaching the end of the x or y direction. I'd rather have it just stop dead on its tracks.
Tried both:
boundsBehavior: Flickable.StopAtBounds boundsMovement: Flickable.StopAtBounds
Neither helps.