-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstopwatch.kv
More file actions
51 lines (36 loc) · 914 Bytes
/
Copy pathstopwatch.kv
File metadata and controls
51 lines (36 loc) · 914 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
45
46
<Label>:
font_name: 'Roboto'
font_size: 60
markup: True
<Button>:
font_name: 'Roboto'
font_size: 25
bold: True
BoxLayout:
orientation: 'vertical'
Label:
id: time
text: '[b]00[/b]:00:00'
BoxLayout:
orientation: 'horizontal'
padding: 20
spacing: 20
height: 90
size_hint: (1, None)
Button:
text: 'Start'
id: start_stop
background_normal : 'blue_normal.png'
background_down: 'blue_down.png'
border: (2,2,2,2)
on_press : app.start_stop()
Button:
id: reset
text: 'Reset'
background_normal : 'red_normal.png'
background_down: 'red_down.png'
border: (2,2,2,2)
on_press: app.reset()
Label:
id: stopwatch
text:'00:00.[size=40]00[/size]'