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

View file

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