Increase mouse wheel pitch in QML ScrollView

I have GridViewin ScrollView.

By default, the scroll / step speed for the mouse wheel is only a few pixels, and I would like to increase it. What is the best way to do this?

I am using Qt5.3.

+4
source share
1 answer

You can use the __wheelAreaScrollSpeedScrollView property to set its scroll speed.

ScrollView {
    __wheelAreaScrollSpeed: 50
    Item {} //The content you wish to scroll
}
+4
source

Source: https://habr.com/ru/post/1545644/


All Articles