Skip to content
Snippets Groups Projects
Commit 9d52d15d authored by richard's avatar richard
Browse files

fix for ellipses on a single line

parent 4885ddab
No related branches found
No related tags found
No related merge requests found
......@@ -545,7 +545,7 @@ void LLTextBase::drawText()
LLRect text_rect(line.mRect.mLeft + mTextRect.mLeft - scrolled_view_rect.mLeft,
line.mRect.mTop - scrolled_view_rect.mBottom + mTextRect.mBottom,
line.mRect.mRight - scrolled_view_rect.mLeft,
llmin(mDocumentView->getRect().getWidth(), line.mRect.mRight) - scrolled_view_rect.mLeft,
line.mRect.mBottom - scrolled_view_rect.mBottom + mTextRect.mBottom);
// draw a single line of text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment