Reverted r21191. The one who calls BView::SetFont() is responsible for
also calling InvalidateLayout() and Invalidate(), if necessary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21251 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b5f602a702
commit
93c4bf98f1
@ -2129,8 +2129,6 @@ BView::SetFont(const BFont* font, uint32 mask)
|
||||
|
||||
fState->font_flags |= mask;
|
||||
|
||||
InvalidateLayout();
|
||||
|
||||
if (fOwner) {
|
||||
check_lock();
|
||||
do_owner_check();
|
||||
|
@ -126,5 +126,7 @@ ButtonTest::_SetButtonFont(bool bigFont)
|
||||
|
||||
// set font
|
||||
fButton->SetFont(bigFont ? fBigFont : fDefaultFont);
|
||||
fButton->InvalidateLayout();
|
||||
fButton->Invalidate();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user