TextAppearance.Content

The custom text appearance for content is configured with UICTFontTextStyleText, natural text alignment and padding.

Key Type Description
fontStyleName String The style name for the font is used to set the size of the font. The default value is UICTFontTextStyleText.
fontSymbolicTrait String The symbolic trait for the font is used to emphasize the text. The default value is omitted. Omitting this value uses the regular symbolic trait. traitItalic, traitBold, and traitMonoSpace are the only supported values.
kern Number The kerning of the text. The default value is -0.02. Omitting this value uses zero.
lineHeightMultiple Number The line height multiple. The default value is 1.28. Only a value greater or equal to zero is considered. Otherwise, zero is used.
paddingBottom Number The bottom padding. The default value is 0.
paddingLeft Number The left padding. The default value is 0.
paddingRight Number The right padding. The default value is 0.
paddingTop Number The top padding. The default value is 16.
paddingLefttextAlignment NumberString The left padding. The default value is 8.The text alignment is used to set the horizontal alignment of a text. The default value is natural. Here is a list of supported values.