From c248c93d9b6fce067ada563da66560f40460cb68 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 4 Jan 2019 17:13:10 +0100 Subject: [PATCH] Fixup 5c1d65af: proper spacing between text and label in rtl Fix bug #11425. --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 60bb5a7410..a92461460e 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -432,7 +432,7 @@ void RowPainter::paintLabel() const double x = x_; if (row_.isRTL()) - x = xo_ + tm_.width() - row_.right_margin + fm.width(layout.labelsep); + x = xo_ + row_.width() + fm.width(layout.labelsep); else x = x_ - fm.width(layout.labelsep) - fm.width(str); -- 2.39.5