The target view of the scroll view must be moved to the origin (doesn't
matter in this context, though). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6629 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
73da0c41c1
commit
f53ccd0b49
@ -165,6 +165,7 @@ DynamicScrollView::DynamicScrollView(const char *name, BView *target)
|
||||
{
|
||||
fContentBounds.Set(-1, -1, -1, -1);
|
||||
SetViewColor(fTarget->ViewColor());
|
||||
target->MoveTo(B_ORIGIN);
|
||||
AddChild(target);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user