aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2016-12-27 20:07:51 +0200
committerLeon Anavi <leon.anavi@konsulko.com>2016-12-27 22:30:10 +0200
commitf22932f9680b90e33b4ce38bd2f4223fe442681a (patch)
tree0f9ce3eaaf0300dac85f2407f964da0201226805
parent3432398a9e06d9dc7708936ffba26914ca94ab51 (diff)
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 <leon.anavi@konsulko.com>
-rw-r--r--HomeScreen/qml/StatusArea.qml6
1 files 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'