diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 22:40:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 22:40:22 +0100 |
commit | 44487703c264dfef094631614717ba5ce22f7a37 (patch) | |
tree | 6bfdbcfc71c88a81a4f5e1c3da2f57f555792d5d /spline/spline-widget.cpp | |
parent | 3851ff31241d8e727b65a0f27dddc9ccc2f694fc (diff) |
spline/widget: fix plot label offset
Issue: #988
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r-- | spline/spline-widget.cpp | 2 |
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); } } |