generated from nj-ramadhan/arkana-mbd-pykivy-water-dispenser-machine-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreen_uno_modules.kv
64 lines (55 loc) · 1.24 KB
/
screen_uno_modules.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
54
55
56
57
58
59
60
61
62
63
64
#:kivy 2.1.0
<ScreenUnoModules>:
MDBoxLayout:
orientation: "vertical"
# header layout
MDBoxLayout:
id: layout_header
orientation: "horizontal"
padding: 15
spacing: 15
size_hint: 1, 0.15
MDIconButton:
id: bt_menu
icon: "menu"
icon_size: "54sp"
size_hint_x: 0.1
on_press: root.nav_main_menu()
MDLabel:
id: subtitle
text: "UNO MOTOR CONTROLLER"
halign: 'center'
valign: 'middle'
bold: True
font_size: 42
color: 0, 0, 0
Image:
id: logo
source:'asset/Main_Logo.png'
size_hint_x: 0.25
allow_stretch: True
# choose product layout
MDBoxLayout:
id: layout_title
orientation: "vertical"
md_bg_color: app.theme_cls.primary_color
size_hint: 1, 0.1
padding:10
spacing:10
MDLabel:
text: "UNO MODULES"
halign: 'center'
valign: 'middle'
bold: True
font_size: 32
color: 1, 1, 1
size_hint_y: 0.1
MDGridLayout:
id: layout_products
cols:3
md_bg_color: app.theme_cls.accent_color
row_force_default: True
row_default_height: 200
size_hint: 1, 0.75
padding:20
spacing:20