From 571323ae6dd40a9550f9be52121e4b73163e9646 Mon Sep 17 00:00:00 2001 From: Akshay Arora Date: Fri, 20 Nov 2015 04:51:45 +0530 Subject: [PATCH] unix:TextInput Warning about `minimum_height` closes #3770 --- kivy/uix/textinput.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/kivy/uix/textinput.py b/kivy/uix/textinput.py index af3142c7c..45b406941 100644 --- a/kivy/uix/textinput.py +++ b/kivy/uix/textinput.py @@ -2952,8 +2952,17 @@ class TextInput(FocusBehavior, Widget): .. versionadded:: 1.8.0 - :attr:`minimum_height` is a readonly - :class:`~kivy.properties.AliasProperty`. + :attr:`minimum_height` is a readonly :class:`~kivy.properties.AliasProperty`. + + .. warning:: + :attr:`minumum_width` is calculated based on textinput width therefore + code like this:: + + + height: self.minimum_height + width: self.height + + Will lead to a unending loop. ''' line_spacing = NumericProperty(0)