StatusArea.qml: Fix date, time and weather 87/7887/1
authorLeon Anavi <leon.anavi@konsulko.com>
Tue, 27 Dec 2016 18:07:51 +0000 (20:07 +0200)
committerLeon Anavi <leon.anavi@konsulko.com>
Tue, 27 Dec 2016 20:30:10 +0000 (22:30 +0200)
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 <leon.anavi@konsulko.com>
HomeScreen/qml/StatusArea.qml

index ca9a3ef..5f4e1cb 100644 (file)
@@ -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'