When changing the text rect, simply invalidate the view. Otherwise it leaves
dirt in various cases. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29760 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0834dd807f
commit
339dcf9c81
|
@ -2155,6 +2155,8 @@ BTextView::SetTextRect(BRect rect)
|
|||
if (!needsRefresh)
|
||||
rect.bottom = fTextRect.bottom;
|
||||
|
||||
Invalidate();
|
||||
|
||||
fTextRect = rect;
|
||||
fMinTextRectWidth = fTextRect.Width();
|
||||
// used in auto-resizing mode to keep the text rect from
|
||||
|
|
Loading…
Reference in New Issue