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:
Axel Dörfler 2004-02-18 11:56:10 +00:00
parent 73da0c41c1
commit f53ccd0b49

View File

@ -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);
}