Skip to content

Commit 6f5f48e

Browse files
authored
Update kingwatch.kv
1 parent c57106c commit 6f5f48e

1 file changed

Lines changed: 37 additions & 10 deletions

File tree

kingwatch.kv

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,53 @@
1+
<MonitorWidget>:
2+
orientation: "horizontal"
3+
size_hint_y: None
4+
height: "40dp"
5+
6+
Label:
7+
text: root.title
8+
size_hint_x: 0.6
9+
10+
Label:
11+
text: root.value
12+
size_hint_x: 0.4
13+
14+
115
<RootWidget>:
216
orientation: "vertical"
317
padding: 20
418
spacing: 20
519

620
Label:
721
text: "KingWatch Pro"
8-
font_size: "28sp"
22+
font_size: "30sp"
923
bold: True
1024

11-
Label:
12-
text: "CPU Monitor"
25+
MonitorWidget:
26+
id: cpu_widget
27+
title: "CPU Monitor"
1328

14-
Label:
15-
text: "RAM Monitor"
29+
MonitorWidget:
30+
id: ram_widget
31+
title: "RAM Monitor"
1632

17-
Label:
18-
text: "Battery Monitor"
33+
MonitorWidget:
34+
id: battery_widget
35+
title: "Battery Monitor"
1936

20-
Label:
21-
text: "Network Monitor"
37+
MonitorWidget:
38+
id: network_widget
39+
title: "Network Monitor"
40+
41+
MonitorWidget:
42+
id: storage_widget
43+
title: "Storage Monitor"
44+
45+
MonitorWidget:
46+
id: temp_widget
47+
title: "Thermal Monitor"
2248

2349
Button:
2450
text: "Refresh"
2551
size_hint_y: None
26-
height: "50dp"
52+
height: "50dp"
53+
on_press: root.update_stats()

0 commit comments

Comments
 (0)