-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.kv
More file actions
44 lines (39 loc) · 1012 Bytes
/
common.kv
File metadata and controls
44 lines (39 loc) · 1012 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<DeletePopup>:
size_hint: None, None
size: dp(340), dp(200)
title: 'Delete Card Set'
title_size: 20
auto_dismiss: False
BoxLayout:
orientation: "vertical"
Label:
id: info_text
text_size: self.size
BoxLayout:
size_hint_y: .8
spacing: 1
padding: 1
NavbarButton:
size_hint: 1, 0.4
text: "Delete"
on_release:
root.delete()
NavbarButton:
size_hint: 1, 0.4
text: "Cancel"
on_release:
root.dismiss()
<NavbarButton@Button>:
background_normal: ''
background_color: 0.145, 0.431, 0.369, 1.
font_size: 16
<HiddenButton@Button>:
background_normal: ''
background_color: 0., 0., 0., 0.
font_size: 16
<PopupLabelCell>
size_hint: (None, None)
height: dp(30)
text_size: self.size
halign: "left"
valign: "middle"