summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divecartesianaxis.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-29 13:48:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-29 09:35:16 -0800
commit042c34df0962cec5e4557cfe6f61e747173778ad (patch)
treee55923f50c9d38c180333221d0fc7cc28005d837 /qt-ui/profile/divecartesianaxis.cpp
parent354acb0fe62917291ce5c26f4d6696c858f78d49 (diff)
downloadsubsurface-042c34df0962cec5e4557cfe6f61e747173778ad.tar.gz
Fix positioning of many text items.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.cpp')
-rw-r--r--qt-ui/profile/divecartesianaxis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp
index 9a3c8242f..7c91281b4 100644
--- a/qt-ui/profile/divecartesianaxis.cpp
+++ b/qt-ui/profile/divecartesianaxis.cpp
@@ -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);
}