From e519911086b214998af8280b42a12f81b53fb830 Mon Sep 17 00:00:00 2001 From: Zen-CODE Date: Tue, 9 Aug 2016 02:36:48 +0200 Subject: [PATCH] doc: tweaks to uix/scrollview.py --- kivy/uix/scrollview.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index c904e346b..2557e4afe 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -51,10 +51,11 @@ to False. Managing the Content Size and Position -------------------------------------- -ScrollView manages the position of its children similarly to a -RelativeLayout (see :mod:`~kivy.uix.relativelayout`) but not the size. You must -carefully specify the `size_hint` of your content to get the desired -scroll/pan effect. +The ScrollView manages the position of its children similarly to a +:class:`~kivy.uix.relativelayout.RelativeLayout` but does not use the +:attr:`~kivy.uix.widget.Widget.size_hint`. You must +carefully specify the :attr:`~kivy.uix.widget.Widget.size` of your content to +get the desired scroll/pan effect. By default, size_hint is (1, 1), so the content size will fit your ScrollView exactly (you will have nothing to scroll). You must deactivate at least one of