unix:TextInput Warning about `minimum_height`

closes #3770
This commit is contained in:
Akshay Arora 2015-11-20 04:51:45 +05:30
parent ff15cee821
commit 571323ae6d
1 changed files with 11 additions and 2 deletions

View File

@ -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::
<FuncyTextInput>
height: self.minimum_height
width: self.height
Will lead to a unending loop.
'''
line_spacing = NumericProperty(0)