-
Notifications
You must be signed in to change notification settings - Fork 0
/
Episode.kv
53 lines (48 loc) · 1.34 KB
/
Episode.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
43
44
45
46
47
48
49
50
51
52
53
# kv file for the main_window in the gui
#:kivy 1.10.1
<Main_window>:
name: "main"
# canvas:
# Rectangle:
# pos: self.center_x - 5, root.top - 100
# size: 10, 10
Label:
font_size: 20
center_x: root.width / 2
top: root.top - 10
# text: "Hello"
text: app.s
<ScrollableLabel>:
Label:
# text: str('some really long long long string ' * 50)
text: root.text
font_size: 25
text_size: self.width, None
size_hint_y: None
height: self.texture_size[1]
# ScreenManagement:
# transition: FadeTransition()
# Main_window:
<HomeScreen>:
name: 'home'
grid: grid
FloatLayout:
BoxLayout:
orientation: "horizontal"
pos_hint: {"x": 0, "y": 0}
ScrollView:
GridLayout:
id: grid
size_hint_y: None
height: self.minimum_height
# rows: 4
cols: 1
padding: 10
spacing: 10
row_force_default: True
row_default_height: 120
Label:
text: 'Episodes:'
size_hint_x: None
width: 200
font_size: 24