iconTextGap([gap])
Class: Menu. Method inherited from UIComponent.
Description:
Sets or get a gap in pixel between icon and text of a List item, Button, Label, ComboBox.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
number |
The gap in pixels (must be an integer ≥ 0). If omitted, returns the current gap. |
Returns:
Returns number if argument is omitted, otherwise returns this component instance.
Type: this | number
