I am using multiTab in kivy. How to enlarge the scrollbar so that scrollbar can be moved(up_down) by mouse. I am using BoxLayout and RecycleView. The code below was working with gridLayout, but not in BoxLayout:
layout.bind(minimum_height=layout.setter('height'))
Here is an example of how to extend ScrollView to also get a dragable slider.
You need to use the
custom_add
to add widgets in theScrollSlider
or add them to theGridLayout
in kivy.I took some inspiration from the link @Edvardas Dlugauskas provided.
The code you provided does not work with
BoxLayout
becauseBoxLayout
just takes the size of its parent. To be able to scroll you need to add sth intoScrollView
which is larger than theScrollView
itself.