From f22932f9680b90e33b4ce38bd2f4223fe442681a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 27 Dec 2016 20:07:51 +0200 Subject: [PATCH] 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 --- HomeScreen/qml/StatusArea.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' -- 2.16.6