class StackLayoutExample(StackLayout):
def __init__(self, **kwargs):
super().__init__(**kwargs)
for i in range(0, 50):
b = Button(text=str(i + 1), size_hint=(0.2, 0.2))
self.add_widget(b)
<ScrollViewExample@ScrollView>:
StackLayoutExample:
size_hint:1,None
height: self.minimum_height
Basically I want to make a scroll bar made up of the stack of 100 buttons whoch I looped through