private Box ChildSetup(Box box, LayoutInfo transform, int maxBoxWidth, int left, int top) { var childTransform = transform.WithMaxWidthOffsetBy(maxBoxWidth, Left, Top); // todo: test box.Layout(childTransform); box.Left = left; box.Top = top; return box; }
private Box ChildSetup(Box box, LayoutInfo transform, int maxBoxWidth, int left, int top) { var childTransform = transform.WithMaxWidthOffsetBy(maxBoxWidth, Left, Top); // todo: test box.Layout(childTransform); box.Left = left; box.Top = top; return(box); }