diff --git a/src/rowpainter.cpp b/src/rowpainter.cpp index 4a686435bf..d5c746a14c 100644 --- a/src/rowpainter.cpp +++ b/src/rowpainter.cpp @@ -660,9 +660,7 @@ void RowPainter::paintLast() FontInfo const font = labelFont(); FontMetrics const & fm = theFontMetrics(font); docstring const & str = par_.layout().endlabelstring(); - double const x = is_rtl ? - x_ - fm.width(str) - : - text_metrics_.rightMargin(pm_) - row_.width(); + double const x = is_rtl ? x_ - fm.width(str) : x_; pi_.pain.text(int(x), yo_, str, font); break; } diff --git a/status.16x b/status.16x index 2a483ea557..26f552bb89 100644 --- a/status.16x +++ b/status.16x @@ -226,6 +226,9 @@ What's new - Fix inset-[begin|end][-select] when the cursor is at the beginning or end of a paragraph. +- If a static EndLabelString is defined in a layout file it is now + correctly displayed on screen (bug 2972). + * DOCUMENTATION AND LOCALIZATION