diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-16 11:17:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-16 11:17:29 -0800 |
commit | 21ca39ab0af7d611948b629849248a62a84bb033 (patch) | |
tree | db768ce43c25886a3f003e893d794a92c05daba8 /qt-ui | |
parent | 582fb693a043ef861cbaeaf8a69936dc0680f070 (diff) | |
download | subsurface-21ca39ab0af7d611948b629849248a62a84bb033.tar.gz |
Fine tune positioning of temperature and tank pressure lines
Maybe not yet perfect, but better.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index b05d50084..94aa138f8 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -232,20 +232,20 @@ void ProfileWidget2::setupItemSizes() itemPos.cylinder.pos.on.setY(20); itemPos.cylinder.pos.off.setX(-10); itemPos.cylinder.pos.off.setY(20); - itemPos.cylinder.expanded.setP1(QPointF(0,0)); - itemPos.cylinder.expanded.setP2(QPointF(0,20)); + itemPos.cylinder.expanded.setP1(QPointF(0,15)); + itemPos.cylinder.expanded.setP2(QPointF(0,50)); itemPos.cylinder.shrinked.setP1(QPointF(0,0)); - itemPos.cylinder.shrinked.setP2(QPointF(0,10)); + itemPos.cylinder.shrinked.setP2(QPointF(0,20)); // Temperature axis config itemPos.temperature.pos.on.setX(3); itemPos.temperature.pos.on.setY(40); itemPos.temperature.pos.off.setX(-10); itemPos.temperature.pos.off.setY(40); - itemPos.temperature.expanded.setP1(QPointF(0,0)); - itemPos.temperature.expanded.setP2(QPointF(0,20)); - itemPos.temperature.shrinked.setP1(QPointF(0,0)); - itemPos.temperature.shrinked.setP2(QPointF(0,10)); + itemPos.temperature.expanded.setP1(QPointF(0,30)); + itemPos.temperature.expanded.setP2(QPointF(0,50)); + itemPos.temperature.shrinked.setP1(QPointF(0,5)); + itemPos.temperature.shrinked.setP2(QPointF(0,15)); itemPos.dcLabel.on.setX(3); itemPos.dcLabel.on.setY(97); |