From: Leon Anavi Date: Tue, 27 Dec 2016 18:07:51 +0000 (+0200) Subject: StatusArea.qml: Fix date, time and weather X-Git-Tag: 3.0.0~2^2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=commitdiff_plain;h=f22932f9680b90e33b4ce38bd2f4223fe442681a StatusArea.qml: Fix date, time and weather Fix the appearance of date, time and weather on Raspberry Pi 2/3 by replacing QML element Label with Text. Bug-AGL: SPEC-375 Signed-off-by: Leon Anavi --- diff --git a/HomeScreen/qml/StatusArea.qml b/HomeScreen/qml/StatusArea.qml index ca9a3ef..5f4e1cb 100644 --- a/HomeScreen/qml/StatusArea.qml +++ b/HomeScreen/qml/StatusArea.qml @@ -42,7 +42,7 @@ Item { anchors.fill: parent anchors.margins: 40 spacing: 0 - Label { + Text { Layout.fillWidth: true Layout.fillHeight: true text: Qt.formatDate(now, 'dddd').toUpperCase() @@ -59,7 +59,7 @@ Item { // z: -1 // } } - Label { + Text { Layout.fillWidth: true Layout.fillHeight: true text: Qt.formatTime(now, 'h:mm ap').toUpperCase() @@ -76,7 +76,7 @@ Item { Image { source: './images/Weather/WeatherIcons_Rain-01.png' } - Label { + Text { text: '64°F' color: 'white' font.family: 'Helvetica'