rgheck <[EMAIL PROTECTED]> writes: > I'm getting the proof box slightly off the right edge of the screen. > This fixes it for me. Are other people seeing this behavior? > > This is branch and trunk, by the way, though the patch is for trunk.
Why the 1.5 factor? Is looks arbitrary. I would rather use a patch like the following, although I do not understand why it does not align perfectly on the right... JMarc
svndiff src/rowpainter.cpp Index: src/rowpainter.cpp =================================================================== --- src/rowpainter.cpp (revision 22694) +++ src/rowpainter.cpp (working copy) @@ -610,7 +610,8 @@ void RowPainter::paintLast() FontMetrics const & fm = theFontMetrics(font); int const size = int(0.75 * fm.maxAscent()); int const y = yo_ - size; - int x = is_rtl ? nestMargin() + changebarMargin() : width_ - size; + int x = is_rtl ? nestMargin() + changebarMargin() + : width_ - 1 - text_metrics_.rightMargin(pm_) - size; if (width_ - int(row_.width()) <= size) x += (size - width_ + row_.width() + 1) * (is_rtl ? -1 : 1);