diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-02-04 10:46:02 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-05 11:59:47 -0800 |
commit | 11ccadbab5a8da5a43410b23ffb7b96f5c850051 (patch) | |
tree | 7285ffeba762b28f80858cb9246a453d877ee82b /profile-widget/tankitem.cpp | |
parent | 11dcae436eed5c684077b5a5e2b20d73fbebcca9 (diff) | |
download | subsurface-11ccadbab5a8da5a43410b23ffb7b96f5c850051.tar.gz |
MOBILE: Reposition objects in the profile
Add the tankbar to the profile and change the relative positions of the depth
and temperature curves to minimize overlap.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'profile-widget/tankitem.cpp')
-rw-r--r-- | profile-widget/tankitem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp index 98655c4fa..1d1caad50 100644 --- a/profile-widget/tankitem.cpp +++ b/profile-widget/tankitem.cpp @@ -74,6 +74,9 @@ void TankItem::createBar(qreal x, qreal w, struct gasmix *gas) label->setBrush(Qt::black); label->setPos(x + 1, 0); label->setAlignment(Qt::AlignBottom | Qt::AlignRight); +#ifdef SUBSURFACE_MOBILE + label->setPos(x + 1, -2.5); +#endif label->setZValue(101); } |