-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgalaxy.kv
More file actions
48 lines (37 loc) · 1.03 KB
/
Copy pathgalaxy.kv
File metadata and controls
48 lines (37 loc) · 1.03 KB
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
Appwidget:
<MenuWidget>:
canvas.before:
Color:
rgba: 0, 0, 0, .8
Rectangle:
size: self.size
Label:
font_size: dp(70)
font_name: "font/digital-7.ttf"
text: root.parent.menu_title
pos_hint: {"center_x": .5, "center_y": .6}
Button:
font_size: dp(30)
font_name: "font/Eurostile.ttf"
text: root.parent.menu_button_title
pos_hint: {"center_x": .5, "center_y": .3}
size_hint: .2, .15
on_press: root.parent.button_click()
background_normal: ''
background_color: 1, .4, 0, .55
<Appwidget>:
canvas.before:
Rectangle:
size: self.size
source: "images/theone.png"
menu_widget: menu_widget
perspective_x: self.width / 2
perspective_y: self.height * 0.75
MenuWidget:
id: menu_widget
Label:
text:root.score
font_size: dp(20)
font_name: "font/Eurostile.ttf"
size_hint: .18, .18
pos_hint: {"x": 0, "top": 1}