Simplified logic for a previous fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35448 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -563,14 +563,12 @@ BBox::DoLayout()
|
|||||||
|
|
||||||
BView::DoLayout();
|
BView::DoLayout();
|
||||||
|
|
||||||
if (!fLabelView)
|
if (fLabelView)
|
||||||
|
AddChild(fLabelView, ChildAt(0));
|
||||||
|
else
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add it again..
|
|
||||||
if (layouted && fLabelView)
|
|
||||||
AddChild(fLabelView, ChildAt(0));
|
|
||||||
|
|
||||||
_ValidateLayoutData();
|
_ValidateLayoutData();
|
||||||
|
|
||||||
// Even if the user set a layout, restore label view to it's
|
// Even if the user set a layout, restore label view to it's
|
||||||
|
|||||||
Reference in New Issue
Block a user