Show hint about double tap in example. closes #4489

And varios pep 8 fixes
This commit is contained in:
Zen-CODE 2016-08-17 22:21:16 +02:00
parent 776a124d09
commit edde0a1921
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ class MutableTextInput(FloatLayout):
def view(self):
self.clear_widgets()
if not self.text:
self.w_label.text = "Double tap/click to edit"
self.add_widget(self.w_label)
def check_focus_and_view(self, textinput):