mirror of https://github.com/kivy/kivy.git
Show hint about double tap in example. closes #4489
And varios pep 8 fixes
This commit is contained in:
parent
776a124d09
commit
edde0a1921
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue