From 772f9e44853c2b0e250cef0ec5a0c127225050dc Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Thu, 29 Nov 2012 14:23:56 +0100 Subject: [PATCH] StackLayout: Added versionchanged doc on orientation property. --- kivy/uix/stacklayout.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/kivy/uix/stacklayout.py b/kivy/uix/stacklayout.py index be6af388f..5794fa4d3 100644 --- a/kivy/uix/stacklayout.py +++ b/kivy/uix/stacklayout.py @@ -57,6 +57,17 @@ class StackLayout(Layout): :data:`orientation` is an :class:`~kivy.properties.OptionProperty`, default to 'lr-tb'. + Valid orientations are: 'lr-tb', 'tb-lr', 'rl-tb', 'tb-rl', 'lr-bt', + 'bt-lr', 'rl-bt', 'bt-rl' + + .. versionchanged:: 1.5.0 + + :data:`orientation` now correctly handles all valid combinations of + 'lr','rl','tb','bt'. Before this version only 'lr-tb' and + 'tb-lr' were supported, and 'tb-lr' was misnamed and placed + widgets from bottom to top and from right to left (reversed compared + to what was expected). + .. note:: lr mean Left to Right.