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>
anchors.fill: parent
anchors.margins: 40
spacing: 0
- Label {
+ Text {
Layout.fillWidth: true
Layout.fillHeight: true
text: Qt.formatDate(now, 'dddd').toUpperCase()
// z: -1
// }
}
- Label {
+ Text {
Layout.fillWidth: true
Layout.fillHeight: true
text: Qt.formatTime(now, 'h:mm ap').toUpperCase()
Image {
source: './images/Weather/WeatherIcons_Rain-01.png'
}
- Label {
+ Text {
text: '64°F'
color: 'white'
font.family: 'Helvetica'