From 8f8d3780a33dc61dc71449a6aa44b5cb49acdbd4 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Tue, 18 Dec 2018 13:45:37 -0500 Subject: Switch units to MPH For now, switch the speed and mileage units to miles per hour / miles for CES, and lower the displayed mileage to something more reflective of a new model car. Something more dynamic should be put in place down the road. Change-Id: Iee92d4bd2b1e6bbd39e856197c2ca9434cdb7b0a Signed-off-by: Scott Murray --- app/Dashboard.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Dashboard.qml b/app/Dashboard.qml index 2c23fb0..d343d8a 100644 --- a/app/Dashboard.qml +++ b/app/Dashboard.qml @@ -104,20 +104,20 @@ ApplicationWindow { anchors.left: parent.left anchors.top: parent.top anchors.margins: 20 - text: speed_val.toFixed(0) /* KPH */ + text: speed_val.toFixed(0) /* MPH */ font.pixelSize: 256 } Label { id: unit anchors.left: speed.right anchors.baseline: speed.baseline - text: 'Km/h' + text: 'MPH' font.pixelSize: 64 } Label { anchors.left: unit.left anchors.top: unit.bottom - text: '100,000.5 km' + text: '10,000.5 miles' font.pixelSize: 32 opacity: 0.5 } -- cgit 1.2.3-korg