How to change Kivy Scroll View Scroll speed
Hi All,
I have a list that contains hundreds of items and I need to hop around quite alot. Is there a way to make scrolling with mouse faster?
Thanks
Posted Mar 13, 2020, 4:41 AM UTC
33
Hi All,
I have a list that contains hundreds of items and I need to hop around quite alot. Is there a way to make scrolling with mouse faster?
Thanks
Posted Mar 13, 2020, 4:41 AM UTC
[deleted]
Just looking at the docs, here are a few ideas:
You could change the scroll wheel distance: https://kivy.org/doc/stable/api-kivy.uix.scrollview.html?highlight=scrollview#kivy.uix.scrollview.ScrollView.scroll_wheel_distance
You could increase the width of the Bar and use the scroll bar for navigation.
This also looks promising: https://kivy.org/doc/stable/api-kivy.uix.scrollview.html?highlight=scrollview#kivy.uix.scrollview.ScrollView.scroll_wheel_distance
If the scroll view is sluggish, try replacing it with a RecycleView.
You could also create a visual index and use scroll_to to jump to specific spots: https://kivy.org/doc/stable/api-kivy.uix.scrollview.html?highlight=scrollview#kivy.uix.scrollview.ScrollView.scroll_to
Thank you very much!
Recycleview + scroll_wheel_distance:120 seems to do the trick
😎