diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-01-16 18:52:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-01-21 06:07:31 -0800 |
commit | f7cecf506f8e2ec117fab0bdca978ff86575afcf (patch) | |
tree | 254305173dcb4bb55f0f0fc41d0659b52e6d378e /profile-widget/profilewidget2.cpp | |
parent | dbf13900941830103311bb58cf88187f24bfc420 (diff) | |
download | subsurface-f7cecf506f8e2ec117fab0bdca978ff86575afcf.tar.gz |
Don't let the tankbar overlap the tissue heatmap
Shift the position of the tankbar to prevent it from overlapping the tissue heatmap
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index f0df220e3..e85e41fd2 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -488,7 +488,7 @@ void ProfileWidget2::setupItemSizes() itemPos.percentage.expanded.setP1(QPointF(0, 0)); itemPos.percentage.expanded.setP2(QPointF(0, 15)); itemPos.percentageWithTankBar = itemPos.percentage; - itemPos.percentageWithTankBar.expanded.setP2(QPointF(0, 12)); + itemPos.percentageWithTankBar.expanded.setP2(QPointF(0, 11.9)); itemPos.dcLabel.on.setX(3); itemPos.dcLabel.on.setY(100); @@ -496,7 +496,7 @@ void ProfileWidget2::setupItemSizes() itemPos.dcLabel.off.setY(100); itemPos.tankBar.on.setX(0); - itemPos.tankBar.on.setY(91.5); + itemPos.tankBar.on.setY(91.95); } void ProfileWidget2::setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *hAxis, |