-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmarkov.kv
42 lines (35 loc) · 790 Bytes
/
markov.kv
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
#:kivy 1.9.1
<MarkovGUI>:
#Background
#canvas.before:
# Color:
# rgba: 1, 1, 1, 1 #white
# Rectangle:
# size: self.size
# pos: self.pos
#This makes these things accessible from the Python object as, e.g., self.dateLabel rather than the more cumbersome self.ids["dateLabel"]
comicArea: comicArea
generateButton: generateButton
saveButton: saveButton
shareButton: shareButton
size: (16, 9)
BoxLayout:
orientation: 'vertical'
size: root.size
Image:
id: comicArea
allow_stretch: True
keep_ratio: True
mipmap: False
BoxLayout:
orientation: "horizontal"
size_hint: (1, .25)
Button:
text: "Generate Another"
id: generateButton
Button:
text: "Save"
id: saveButton
Button:
text: "Share"
id: shareButton