mirror of https://github.com/kivy/kivy.git
doc fixes
This commit is contained in:
parent
9ddfd4fe76
commit
abaf252a7f
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue