MessageView.Error

The style definition for the "error 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_message_view_error_background.
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 hui_ic_warning.
imageTintColorName String The color name for the tint that references a color in the asset catalog of the application. The default value is hui_message_view_error_text.
paddingBottom Number The bottom padding. The default value is 8.
paddingLeft Number The left padding. The default value is 8.
paddingRight Number The right padding. The default value is 8.
paddingTop Number The top padding. The default value is 8
textAppearance String The text appearance. The default value is TextAppearance.BodySubHeadline.
textColorName String The color name for the text that references a color in the asset catalog of the application. The default value is hui_message_view_error_text.