From abaf252a7f8e4d64effc1fb786b9713a496d5085 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 29 Mar 2011 21:40:26 +0200 Subject: [PATCH] doc fixes --- doc/autobuild.py | 1 - kivy/uix/gridlayout.py | 13 +++++++------ kivy/uix/scrollview.py | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/autobuild.py b/doc/autobuild.py index cdcb95a68..c6f9299c9 100644 --- a/doc/autobuild.py +++ b/doc/autobuild.py @@ -30,7 +30,6 @@ import kivy.core.clipboard import kivy.core.gl import kivy.core.image import kivy.core.spelling -import kivy.core.svg import kivy.core.text import kivy.core.video import kivy.core.window diff --git a/kivy/uix/gridlayout.py b/kivy/uix/gridlayout.py index 85fad2d72..f49e11576 100644 --- a/kivy/uix/gridlayout.py +++ b/kivy/uix/gridlayout.py @@ -24,13 +24,14 @@ Another example using two different widgets and some spacing:: .. note:: -The `size_hint` represent the size available after substracting all the -fixed size. For example, if you have 3 widgets (width is 200px, -50%, 50%), and if the layout have a width of 600px : + The `size_hint` represent the size available after substracting all the + fixed size. For example, if you have 3 widgets (width is 200px, + 50%, 50%), and if the layout have a width of 600px : + + - the first widget width will be 200px + - the second widget width will be 300px + - the third widget width will be 300px -- the first widget width will be 200px -- the second widget width will be 300px -- the third widget width will be 300px ''' __all__ = ('GridLayout', 'GridLayoutException') diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index 98884da84..92e0eba33 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -19,9 +19,9 @@ To make it work, the :class:`ScrollView` will check for scrolling gesture first. The scrolling gesture is defined by : - a minimum distance to travel (:data:`ScrollView.scroll_distance`), default - to 20 pixels. + to 20 pixels. - a maximum time period (:data:`ScrollView.scroll_timeout`), default to 250 - milliseconds. + milliseconds. That mean if you are travelling the :data:`~ScrollView.scroll_distance` before the :data:`~ScrollView.scroll_timeout`, the :class:`ScrollView` will start to