blob: b7deb9c1440f447b5d551ddfd9bb60f0ffcbb69d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#:import AutoTextInput tagit.dialogues
<SimpleInput>:
text: ''
ok_on_enter: True
cancel_on_defocus: True
DialogueContentNoTitle:
#AutoTextInput:
TextInput:
vocabulary: root.suggestions
sep: root.suggestion_sep
suffix: root.suggestion_suffix
focus: True
text: root.text
size_hint_y: None
multiline: False
height: self.minimum_height
text_size: self.width - dp(16), None
halign: 'center'
on_text: root.text = self.text
on_focus: root.on_text_focus(*args)
#on_text_validate: root.ok() # handled via the ok_on_enter mechanism
DialogueButtons_Two:
## EOF ##
|