diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 43724b4e6..757df644a 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -49,6 +49,7 @@ identical to that of the ScrollView (size_hint_x=1, default), and set the size_hint_y property to None :: layout = GridLayout(cols=1, spacing=10, size_hint_y=None) + layout.bind(minimum_height=layout.setter('height')) for i in range(30): btn = Button(text=str(i), size_hint_y=None, height=40) layout.add_widget(btn)