summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNedim Hadzic <nedim.hadzic@pelagicore.com>2016-12-19 09:50:22 +0100
committerNedim Hadzic <nedim.hadzic@pelagicore.com>2016-12-19 10:16:02 +0000
commit97fcbfb824d27299fa7d8470918c742e0ec3d5f1 (patch)
treeb74db3a3f262c80af4e16e89d39818319babe07c
parent501548ee3c7763171fd813c0c2461c6b0bb5100d (diff)
downloadneptune-ui-97fcbfb824d27299fa7d8470918c742e0ec3d5f1.tar.gz
Updated middle text position in the MonitorPane
The wrong calculation was in place for the monitoring. It was causing reference point to be lower that it should be. Change-Id: Ib3b538a93962f0a8d53fcf8d8686d44d01002e90 Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
-rw-r--r--sysui/dev/MonitorPanel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysui/dev/MonitorPanel.qml b/sysui/dev/MonitorPanel.qml
index ac02390..42342f5 100644
--- a/sysui/dev/MonitorPanel.qml
+++ b/sysui/dev/MonitorPanel.qml
@@ -78,7 +78,7 @@ Item {
Row {
id: dottedLine
- y: root.middleLine * root.graphHeight
+ y: root.graphHeight - (root.middleLine * root.graphHeight)
spacing: 4
Repeater {