From 8e230904f936cae666af00f35b94dc04f7d197cb Mon Sep 17 00:00:00 2001 From: tshirtman Date: Sat, 29 Dec 2012 18:48:31 +0100 Subject: [PATCH] clarify a little the metrics paragraph in guide2/widgets --- doc/sources/guide2/widgets.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/sources/guide2/widgets.rst b/doc/sources/guide2/widgets.rst index 9bcb88b27..65e2f3543 100644 --- a/doc/sources/guide2/widgets.rst +++ b/doc/sources/guide2/widgets.rst @@ -63,12 +63,13 @@ values to any of the pos attributes (x, y, left, top, center_x, center_y) to have the widget positioned relatively to its parent. -Size and pos metrics --------------------- +Size and position metrics +------------------------- -Kivy default unit for lenght is the pixel, all size and pos are expressed -in it, but you can express them in other units, which is useful to achieve -better consistency accross devices. +Kivy default unit for lenght is the pixel, all sizes and positions are +expressed in it by default, but you can express them in other units, which is +useful to achieve better consistency accross devices (they get converted to the +size in pixel automatically). The available units are `pt`, `mm`, `cm`, `in`, `dp` and `sp`, you can see about their usage in the :mod:`~kivy.metrics` documentation.