Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:textfield [2019/06/06 20:55]
agcyphers [Enumerations]
web:textfield [2019/06/06 20:59] (current)
agcyphers [Properties]
Line 39: Line 39:
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | FieldStyle | WebStyle ​ | Nil | Style applied to the field portion of the class. | | FieldStyle | WebStyle ​ | Nil | Style applied to the field portion of the class. |
 +| IconHeight | Integer | 16 | Height of IconObject when specified. |
 +| IconObject | Picture | Nil | Custom icon displayed in the label portion. |
 +| IconWidth | Integer | 16 | Width of IconObject when specified. |
 | Label | String | Caption of the label portions of the class. Supports FontAwesome icons. | | Label | String | Caption of the label portions of the class. Supports FontAwesome icons. |
 | LabelStyle | WebStyle | Nil | Style applied to the label portion of the class. | | LabelStyle | WebStyle | Nil | Style applied to the label portion of the class. |
 +| LabelAlignment | GraffitiWebTextField.Alignments | Left | Alignment of text and icons in the label portion of the field. |
 +| LabelWidth | Integer | -1 | Static width of label portion. ''​-1''​ for auto. |
 | Placeholder | String | ""​ | Placeholder text. | | Placeholder | String | ""​ | Placeholder text. |
 | ReadOnly | Boolean | False | If True users cannot edit the contents of the field. | | ReadOnly | Boolean | False | If True users cannot edit the contents of the field. |
 +| Required | Boolean | False | Denotes within the display that this field is required. |
 | State | States | Unvalidated | The validation state of the field. | | State | States | Unvalidated | The validation state of the field. |
 | Style | WebStyle | Nil | Applies a WebStyle to the background of the component. | | Style | WebStyle | Nil | Applies a WebStyle to the background of the component. |