CheckboxView

The style definition for the "checkbox view".

Key Type Description
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_checkbox_stroke.
borderWidth Number The width of the border. The default value is 0.
checkboxHeight Number The height for the "checkbox". The default value is 18.5.
checkboxWidth Number The width for the "checkbox". The default value is 18.5.
cornerRadius Number The radius of the corner. The default value is 0.
iconTextPadding Number The padding between the icon and the text. The default value is 16.
imageNameChecked String The name of the image when the element is checked. The name references an image in the asset catalog of the application. The default value is hui_ic_cb_checked.
imageNameUnchecked String The name of the image when the element is unchecked. The name references an image in the asset catalog of the application. The default value is hui_ic_cb_unchecked.
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.SubHeadline.
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.