From 44487703c264dfef094631614717ba5ce22f7a37 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Jan 2020 22:40:10 +0100 Subject: spline/widget: fix plot label offset Issue: #988 --- spline/spline-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3