Contents

PreviewLayout.fixed(width:height:)

Center the preview in a fixed size container with the given dimensions.

Declaration

case fixed(width: CGFloat, height: CGFloat)

Parameters

  • width:

    The width of the container.

  • height:

    The height of the container.

See Also

Getting a layout