ElementWidthCalculation
public enum ElementWidthCalculation: String
Determines how an element’s width will be calculated.
-
Element width will always be as defined in its
width
property.Declaration
Swift
case AsDefined = "asDefined"
-
Element width will be adjusted to fit its contents.
Declaration
Swift
case Fit = "fit"
-
Element width will be adjusted to fill the remaining horizontal space in its container.
Declaration
Swift
case Fill = "fill"