summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/ClockView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui/ClockView.qml')
-rw-r--r--basicsuite/ebike-ui/ClockView.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/basicsuite/ebike-ui/ClockView.qml b/basicsuite/ebike-ui/ClockView.qml
index 21310c0..55ada41 100644
--- a/basicsuite/ebike-ui/ClockView.qml
+++ b/basicsuite/ebike-ui/ClockView.qml
@@ -52,6 +52,9 @@ Item {
id: backgroundImage
source: "images/top_curtain_drag.png"
anchors.centerIn: parent
+ fillMode: Image.PreserveAspectFit
+ width: root.width * 0.225
+ height: root.height * 0.075
}
Text {
@@ -66,7 +69,7 @@ Item {
font {
family: "Montserrat, Medium"
weight: Font.Medium
- pixelSize: UILayout.clockFontSize
+ pixelSize: parent.height * 0.4
}
}
}