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>
This commit is contained in:
Joakim Bygdell 2017-02-04 10:46:02 +01:00 committed by Dirk Hohndel
parent 11dcae436e
commit 11ccadbab5
2 changed files with 19 additions and 5 deletions

View file

@ -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);
}