summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/TripChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui/TripChart.qml')
-rw-r--r--basicsuite/ebike-ui/TripChart.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/basicsuite/ebike-ui/TripChart.qml b/basicsuite/ebike-ui/TripChart.qml
index 72812a5..0bc3a7d 100644
--- a/basicsuite/ebike-ui/TripChart.qml
+++ b/basicsuite/ebike-ui/TripChart.qml
@@ -63,7 +63,7 @@ ChartView {
font {
family: "Montserrat, Regular"
weight: Font.Normal
- pixelSize: UILayout.chartLegendTextSize
+ pixelSize: parent.height * 0.025
}
}
@@ -87,7 +87,7 @@ ChartView {
labelsFont {
family: "Montserrat, Light"
weight: Font.Light
- pixelSize: UILayout.chartTimeLabelSize
+ pixelSize: parent.height * 0.02
}
}
@@ -100,7 +100,7 @@ ChartView {
labelsFont {
family: "Montserrat, Regular"
weight: Font.Normal
- pixelSize: UILayout.chartSpeedLabelSize
+ pixelSize: parent.height * 0.0225
}
titleVisible: false
lineVisible: false
@@ -115,7 +115,7 @@ ChartView {
labelsFont {
family: "Montserrat, Regular"
weight: Font.Normal
- pixelSize: UILayout.chartAssistpowerLabelSize
+ pixelSize: parent.height * 0.0225
}
titleVisible: false
lineVisible: false