From fd60396ad037856b6347db00b438f6baaa6dbca6 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 5 Jul 2016 17:03:43 -0300 Subject: [PATCH] Update textinput.py quick fix for the problem seen here: https://gist.github.com/Alan-FGR/1934aadc8b0ac8113305e47b78599d06 (sscce and screenshot) thanks to bionoid for the help on the IRC channel --- kivy/uix/textinput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/textinput.py b/kivy/uix/textinput.py index 9f85e9f53..61723d429 100644 --- a/kivy/uix/textinput.py +++ b/kivy/uix/textinput.py @@ -707,7 +707,7 @@ class TextInput(FocusBehavior, Widget): wrap = (self._get_text_width( new_text, self.tab_width, - self._label_cached) > self.width) + self._label_cached) > (self.width - self.padding[0] - self.padding[2])) if len_str > 1 or substring == u'\n' or wrap: # Avoid refreshing text on every keystroke. # Allows for faster typing of text when the amount of text in