diff options
author | Titta Heikkala <titta.heikkala@qt.io> | 2017-02-01 10:24:44 +0200 |
---|---|---|
committer | Otto Ryynänen <otto.ryynanen@qt.io> | 2017-02-01 08:56:21 +0000 |
commit | 7cfb17d7db0ffc79210fe6c24e8c358eaf535e65 (patch) | |
tree | c3b630c3bc5745000937488fd08096b68999c1db /tradeshow/iot-sensortag/resources/base/HumidityChart.qml | |
parent | 518c73c59a71911b65ae5d3240b22ea9f5878961 (diff) |
iot-sensortag: Add Accelometer chart
Added new accelometer chart. Updated the ui-layout and images.
Change-Id: Id8474e533f39f5c8178b487fc9bc03d7ea956772
Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/HumidityChart.qml')
-rw-r--r-- | tradeshow/iot-sensortag/resources/base/HumidityChart.qml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/HumidityChart.qml b/tradeshow/iot-sensortag/resources/base/HumidityChart.qml index 0a74a68..fdffc5a 100644 --- a/tradeshow/iot-sensortag/resources/base/HumidityChart.qml +++ b/tradeshow/iot-sensortag/resources/base/HumidityChart.qml @@ -95,7 +95,10 @@ BaseChart { source: pathPrefix + "Humidity/humidity_base_gauge.png" anchors.left: parent.left anchors.leftMargin: 8 + anchors.top: parent.top + anchors.topMargin: 8 anchors.bottom: parent.bottom + width: height Text { id: humidityMainText @@ -108,7 +111,7 @@ BaseChart { Image { source: pathPrefix + "Humidity/humidity_min_hum.png" anchors.left: humidityMainImg.right - anchors.leftMargin: -11 + anchors.leftMargin: -7 anchors.bottom: humidityMainImg.bottom Text { @@ -134,8 +137,8 @@ BaseChart { Image { source: pathPrefix + "Humidity/humidity_max_hum.png" anchors.left: humidityMainImg.right - anchors.leftMargin: -22 - anchors.top: humidityMainImg.top + anchors.leftMargin: -18 + anchors.top: parent.top Text { anchors.top: parent.top |