ItemAlignment

public enum ItemAlignment : CaseIterable

How to vertically align items which there is extra space.

  • Shorter items are stretched to fill the height of the tallest item.

    Declaration

    Swift

    case fill
  • top

    Shorter items are aligned to the top of the row.

    Declaration

    Swift

    case top
  • Shorter items are vertically aligned within the row.

    Declaration

    Swift

    case center
  • Shorter items are aligned to the bottom of the row.

    Declaration

    Swift

    case bottom