Horizontal

public enum Horizontal

Alignment behavior along the horizontal dimension.

  • The layout is aligned to the leading edge (left for left-to-right languages and right for right-to-left languages).

    Declaration

    Swift

    case leading
  • The layout is aligned to the trailing edge (right for left-to-right languages and left for right-to-left languages).

    Declaration

    Swift

    case trailing
  • The layout is centered in the available horizontal space.

    Declaration

    Swift

    case center
  • The layout’s width is set to be equal to the available width.

    Declaration

    Swift

    case fill