LayoutStyle

public enum LayoutStyle

Determines the LayoutStyle for a view, if Absolute, during LayoutSubviews, the value from the Frame will be used, if the value is Computer, then the Frame will be updated from the X, Y Pos objets and the Width and Heigh Dim objects.

  • The position and size of the view are based on the Frame value.

    Declaration

    Swift

    case fixed
  • The position and size of the view will be computed based on the x, y, width and height properties and set on the Frame.

    Declaration

    Swift

    case computed