summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/base/AccelChart.qml
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@qt.io>2017-02-15 10:56:53 +0200
committerKari Hautamäki <kari.hautamaki@qt.io>2017-02-16 06:31:26 +0000
commit08d742dca27bec71aca83b92e91be44e2d177827 (patch)
tree5a64bc83140fb619274289f300d909dc4edc8ecc /tradeshow/iot-sensortag/resources/base/AccelChart.qml
parent5ac46a5368102502ba85e3404672b950975b6214 (diff)
iot-sensortag: Fix UI based on findings on Android device
Minor changes done to UI based on findings on Nexus 7. Change-Id: I3e7496578a03ab059e0ba0b99f7f97ac2c91a8e5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/AccelChart.qml')
-rw-r--r--tradeshow/iot-sensortag/resources/base/AccelChart.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/AccelChart.qml b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
index 9beca22..92f8b50 100644
--- a/tradeshow/iot-sensortag/resources/base/AccelChart.qml
+++ b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
@@ -97,9 +97,7 @@ BaseChart {
Text {
id: accelMainText
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.bottom: parent.verticalCenter
- anchors.bottomMargin: -12
+ anchors.centerIn: parent
text: (index == 0) ? acceXValue : ((index == 1) ? acceYValue : acceZValue)
color: "white"
}