Fixup 5c1d65af: proper spacing between text and label in rtl

Fix bug #11425.
This commit is contained in:
Jean-Marc Lasgouttes 2019-01-04 17:13:10 +01:00
parent 5c1d65afee
commit 5fc035f99c

View File

@ -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);