fix bar layout
This commit is contained in:
parent
f903d1b45e
commit
f0b640eeed
2 changed files with 42 additions and 35 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue