IconTextFit
public enum IconTextFit : String, Codable
Scales the icon to fit around the associated text.
-
The icon is displayed at its intrinsic aspect ratio.
Declaration
Swift
case none
-
The icon is scaled in the x-dimension to fit the width of the text.
Declaration
Swift
case width
-
The icon is scaled in the y-dimension to fit the height of the text.
Declaration
Swift
case height
-
The icon is scaled in both x- and y-dimensions.
Declaration
Swift
case both