MessageView.Username
The style definition for the "username message view".
Key | Type | Description |
---|---|---|
alignment | String | The vertical alignment of the content. The default value is center . |
backgroundColorName | String | The color name for the background that references a color in the asset catalog of the application. The default value is hui_transparent . |
borderColorName | String | The color name for the border that references a color in the asset catalog of the application. The default value is hui_transparent . |
borderWidth | Number | The width of the border. The default value is 0. |
cornerRadius | Number | The radius of the corner. The default value is 6. |
iconTextPadding | Number | The padding between the icon and the text. The default value is 16. |
imageName | String | The name of the image that references an image in the asset catalog of the application. The default value is omitted. Omitting this value or providing an invalid value hides the image. |
imageTintColorName | String | The color name for the tint that references a color in the asset catalog of the application. The default value is hui_transparent . |
paddingBottom | Number | The bottom padding. The default value is 5 . |
paddingLeft | Number | The left padding. The default value is 20 . |
paddingRight | Number | The right padding. The default value is 20 . |
paddingTop | Number | The top padding. The default value is 5 |
textAppearance | String | The text appearance. The default value is TextAppearance.Callout.Bold . |
textColorName | String | The color name for the text that references a color in the asset catalog of the application. The default value is hui_text_headings . |