mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix positioning of many text items.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
354acb0fe6
commit
042c34df09
3 changed files with 10 additions and 13 deletions
|
@ -137,7 +137,7 @@ void DiveCartesianAxis::updateTicks()
|
|||
}
|
||||
} else {
|
||||
if(showText){
|
||||
label->setAlignment(Qt::AlignVCenter| Qt::AlignRight);
|
||||
label->setAlignment(Qt::AlignVCenter| Qt::AlignLeft);
|
||||
label->setPos(m.x1() - tickSize, scene()->sceneRect().height() + 10);
|
||||
label->animateMoveTo(m.x1() - tickSize, childPos);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue