public static void Distribute(this LayoutBuilder layout, RectangleF bounds, DistributionDirection direction, params PlatformView[] views) { if (direction == DistributionDirection.Horizontal) { layout.DistributeHorizontally(bounds, views); } else { layout.DistributeVertically(bounds, views); } }
public static void DistributeHorizontally(this LayoutBuilder layout, params PlatformView[] views) { layout.DistributeHorizontally(layout.PaddedOuterBounds, views); }