mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fixup 5c1d65af
: proper spacing between text and label in rtl
Fix bug #11425.
This commit is contained in:
parent
5c1d65afee
commit
5fc035f99c
@ -432,7 +432,7 @@ void RowPainter::paintLabel() const
|
|||||||
double x = x_;
|
double x = x_;
|
||||||
|
|
||||||
if (row_.isRTL())
|
if (row_.isRTL())
|
||||||
x = xo_ + tm_.width() - row_.right_margin + fm.width(layout.labelsep);
|
x = xo_ + row_.width() + fm.width(layout.labelsep);
|
||||||
else
|
else
|
||||||
x = x_ - fm.width(layout.labelsep) - fm.width(str);
|
x = x_ - fm.width(layout.labelsep) - fm.width(str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user