mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
parent
3d616bfc79
commit
8117172d8a
@ -509,8 +509,8 @@ void RowPainter::paintLast() const
|
|||||||
FontInfo const font = labelFont(true);
|
FontInfo const font = labelFont(true);
|
||||||
FontMetrics const & fm = theFontMetrics(font);
|
FontMetrics const & fm = theFontMetrics(font);
|
||||||
docstring const & str = par_.layout().endlabelstring();
|
docstring const & str = par_.layout().endlabelstring();
|
||||||
double const x = row_.isRTL() ? x_ - fm.width(str) : x_;
|
double const x = row_.isRTL() ? row_.left_margin - fm.width(str) : row_.width();
|
||||||
pi_.pain.text(int(x), yo_, str, font);
|
pi_.pain.text(xo_ + x, yo_, str, font);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user