SegmentWidthMode

@frozen
public enum SegmentWidthMode : Equatable

An enum for setting the segment mode in DimensionSelector

  • Fixed width for all the segments

    Declaration

    Swift

    case fixed(CGFloat)
  • Width based on content width

    Declaration

    Swift

    case intrinsic
  • Width equal to the maximum width among all segments

    Declaration

    Swift

    case maximum
  • Equal width to fill the space

    Declaration

    Swift

    case equal