summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-14 21:40:47 -0600
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-14 22:39:47 -0600
commit87ca15c5c35f32049f66f3cb2da1dc723bc5c1a9 (patch)
tree424a3f8e78d5d4a8e0dff7538f0f660b3028b026 /qt-ui/profile/profilewidget2.cpp
parentfa3c18d83b3f8d8ec9ccb692bf385b07cde30412 (diff)
downloadsubsurface-87ca15c5c35f32049f66f3cb2da1dc723bc5c1a9.tar.gz
Add gas text to tank bars
Also restructures the code a bit to make it a little more sane and changes the colors slightly. With these changes I think we can claim that this Fixes #557 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 9369782f4..a9c7a52e8 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -305,7 +305,7 @@ void ProfileWidget2::setupItemSizes()
itemPos.partialPressure.pos.off.setX(110);
itemPos.partialPressure.pos.off.setY(63);
itemPos.partialPressure.expanded.setP1(QPointF(0, 0));
- itemPos.partialPressure.expanded.setP2(QPointF(0, 30));
+ itemPos.partialPressure.expanded.setP2(QPointF(0, 27));
// cylinder axis config
itemPos.cylinder.pos.on.setX(3);