fix bar layout

This commit is contained in:
Schrottkatze 2024-10-03 19:30:56 +02:00
parent f903d1b45e
commit f0b640eeed
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
2 changed files with 42 additions and 35 deletions

View file

@ -15,6 +15,8 @@
(defwidget bottomBar []
(overlay
:class "bottomBar"
(transform
:translate-y "1.5px"
(centerbox
(box
:halign "start"
@ -26,7 +28,9 @@
)
(box
:halign "end"
(label :text "${iceData.speed}km/h")
; (label :text "${iceData.speed}km/h")
(iceTacho)
)
)
)
(box

View file

@ -16,6 +16,8 @@
(defwidget topBar []
(overlay
:class "topBar"
(transform
:translate-y "-1.5px"
(centerbox
(box
:halign "start"
@ -42,6 +44,7 @@
(time)
)
)
)
(box
:class "transFlag"
:height 1