diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-01-29 13:48:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-29 09:35:16 -0800 |
commit | 042c34df0962cec5e4557cfe6f61e747173778ad (patch) | |
tree | e55923f50c9d38c180333221d0fc7cc28005d837 /qt-ui/profile/divecartesianaxis.cpp | |
parent | 354acb0fe62917291ce5c26f4d6696c858f78d49 (diff) | |
download | subsurface-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.cpp | 2 |
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); } |