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 []
|
(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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue