From a27a53eafbaeb4d65d2a6a3d742ab140fc40452b Mon Sep 17 00:00:00 2001 From: wolfc01 Date: Mon, 2 Jan 2012 04:21:48 -0800 Subject: [PATCH] Corrected and made example working --- kivy/uix/scrollview.py | 1 + 1 file changed, 1 insertion(+) 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)