From: Jean-Marc Lasgouttes Date: Fri, 4 Jan 2019 16:13:10 +0000 (+0100) Subject: Fixup 5c1d65af: proper spacing between text and label in rtl X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c248c93d9b6fce067ada563da66560f40460cb68;p=features.git Fixup 5c1d65af: proper spacing between text and label in rtl Fix bug #11425. --- 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);