InputTextField
The style definition for the "input text field".
Key | Type | Description |
---|---|---|
backgroundColorName | String | The color name for the input box that references a color in the asset catalog of the application. The default value is hui_input_text_view_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_grey_immutable . |
borderWidth | Number | The width of the border. The default value is 1. |
cornerRadius | Number | The radius of the corner. The default value is 6. |
errorColorName | String | The color name for the error that references a color in the asset catalog of the application. The default value is hui_error_immutable . |
errorImageName | String | The image name for the error that references an image in the asset catalog of the application. The default value is hui_ic_warning_circle . |
errorTextAppearance | String | The text appearance of the error. The default value is TextAppearance.Link . |
iconPadding | Number | The padding around the icon. The default value is 17 . |
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 0 . |
textFieldColorName | String | The color name for the text field that references a color in the asset catalog of the application. The default value is hui_text_immutable . |
textFieldContentPaddingBottom | Number | The bottom padding of the text field content. The default value is 0 . |
textFieldContentPaddingLeft | Number | The left padding of the text field content. The default value is 16 . |
textFieldContentPaddingRight | Number | The right padding of the text field content. The default value is 16 . |
textFieldContentPaddingTop | Number | The top padding of the text field content. The default value is 0 . |
textFieldMinimumHeight | Number | The minimum height of the text field. The default value is 48. If the value is 0, the height is adjusted according to UI constraints. |
textFieldPasswordImageTintColorName | String | The color name that references a color in the asset catalog of the application for tinting the password icon . The default value is hui_text_immutable . |
textFieldPlaceholderColorName | String | The color name for the text field placeholder that references a color in the asset catalog of the application. The default value is hui_placeholder_immutable . |
textFieldTextAppearance | String | The text appearance of the text field. The default value is TextAppearance.Text . |
titleColorName | String | The color name for the title that references a color in the asset catalog of the application. The default value is hui_text_immutable . |
titlePaddingLeft | Number | The left padding of the title. The default value is 0 . |
titlePaddingRight | Number | The right padding of the title. The default value is 0 . |
titleMinimumHeight | Number | The minimum height of the title. The default value is 32 . |
titleTextAppearance | String | The text appearance of the title. The default value is TextAppearance.Text . |