summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--spline/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index 2429ffc3..fb373c93 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -156,7 +156,7 @@ void spline_widget::drawBackground()
#endif
painter.drawText(QPointF(x - advance/2 - rect.left(),
- pixel_bounds.height() - rect.top() + rect.height()),
+ pixel_bounds.bottom() + metrics.lineSpacing()),
text);
}
}