commit 5fc035f99c42835da41d6eb6cf5a375382c06870
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Fri Jan 4 17:13:10 2019 +0100

    Fixup 5c1d65af: proper spacing between text and label in rtl
    
    Fix bug #11425.
---
 src/RowPainter.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index 60bb5a7..a924614 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);
 

Reply via email to