X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fqml%2FStatusArea.qml;h=3fc30797d148dd2448b025288d70376c4b8c8d8b;hb=refs%2Ftags%2Fchinook_3.0.4;hp=4ed969d10fa2c5178306471dbef13df96659d59f;hpb=79714c0aa8fc461d77b75d6c5dae6a1a7d726954;p=staging%2FHomeScreen.git diff --git a/HomeScreen/qml/StatusArea.qml b/HomeScreen/qml/StatusArea.qml index 4ed969d..3fc3079 100644 --- a/HomeScreen/qml/StatusArea.qml +++ b/HomeScreen/qml/StatusArea.qml @@ -1,6 +1,6 @@ /* * Copyright (C) 2016 The Qt Company Ltd. - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH + * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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' @@ -94,6 +94,8 @@ Item { Repeater { model: StatusBarModel {} delegate: Image { + Layout.preferredWidth: 77 + Layout.preferredHeight: 73 source: model.modelData fillMode: Image.PreserveAspectFit }