aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-07-05 15:33:49 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-07-05 07:38:23 -0700
commit3b07cd204bc79eea7ab8b9a872d8abd83b0a2cbb (patch)
tree6ec1fa2eacb78a9e84dc533650c395b2070b4ebc
parentdfb3e2cbeab9ccae550a34982a4c9f28d7062418 (diff)
downloadsubsurface-3b07cd204bc79eea7ab8b9a872d8abd83b0a2cbb.tar.gz
Profile: small tweak for tooltip separator line
Add 3px of a initial horizontal offset. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/profilegraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 4a17dbca1..512b71549 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -1341,7 +1341,7 @@ void ToolTipItem::updateTitlePosition()
title->setBrush(Qt::white);
if (toolTips.size() > 0) {
- double x1 = 0;
+ double x1 = 3;
double y1 = title->pos().y() + SPACING/2 + title->boundingRect().height();
double x2 = boundingRect().width() - 10;
double y2 = y1;