Start design update

This commit is contained in:
2025-05-15 17:26:51 +02:00
parent 001d4f2bdb
commit 987b0016c3
5 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
name: "about"
canvas.before:
Color:
rgba: (50,50,50,0.2)
rgba: (10,10,10,0.1)
Rectangle:
size: self.size
pos: self.pos

View File

@@ -2,7 +2,7 @@
name: "credits"
canvas.before:
Color:
rgba: (50,50,50,0.2)
rgba: (10,10,10,0.1)
Rectangle:
size: self.size
pos: self.pos

View File

@@ -2,7 +2,7 @@
name: "home"
canvas.before:
Color:
rgba: (50,50,50,0.2)
rgba: (10,10,10,0.1)
Rectangle:
size: self.size
pos: self.pos

View File

@@ -3,7 +3,7 @@
name: "main"
canvas.before:
Color:
rgba: (50,50,50,0.2)
rgba: (10,10,10,0.1)
Rectangle:
size: self.size
pos: self.pos
@@ -20,38 +20,38 @@
size_hint: 0.8, 0.3
pos_hint: {"x":0.1, "y":0.4}
Label:
text: "SENSOR 1: "
text: "Sensor 1: "
font_size: 20
Label:
id: sensor1
text: ""
Label:
text: "SENSOR 2: "
text: "Sensor 2: "
font_size: 20
Label:
id: sensor2
text: ""
Label:
text: "SENSOR 3: "
text: "Sensor 3: "
font_size: 20
Label:
id: sensor3
text: ""
Label:
text: "SENSOR 4: "
text: "Sensor 4: "
font_size: 20
Label:
id: sensor4
text: ""
Button:
text: "Start communication"
text: "Connect"
size_hint: 0.2, 0.1
pos_hint: {"x": 0.5, "y": 0.05}
background_color: (255, 0, 0, 0.6)
on_release:
root.start()
Button:
text: "End communication"
text: "Disconnect"
size_hint: 0.2, 0.1
pos_hint: {"x": 0.7, "y": 0.05}
background_color: (255, 0, 0, 0.6)

View File

@@ -3,7 +3,7 @@
on_enter: self.config_loader = root.load_config()
canvas.before:
Color:
rgba: (50,50,50,0.2)
rgba: (10,10,10,0.1)
Rectangle:
size: self.size
pos: self.pos