mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
11dcae436e
commit
11ccadbab5
2 changed files with 19 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue