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:
@@ -165,6 +165,7 @@ DynamicScrollView::DynamicScrollView(const char *name, BView *target)
|
|||||||
{
|
{
|
||||||
fContentBounds.Set(-1, -1, -1, -1);
|
fContentBounds.Set(-1, -1, -1, -1);
|
||||||
SetViewColor(fTarget->ViewColor());
|
SetViewColor(fTarget->ViewColor());
|
||||||
|
target->MoveTo(B_ORIGIN);
|
||||||
AddChild(target);
|
AddChild(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user