Members
(static, constant) focusBorderOffset
Used for positioning calculations only (matches 6px border in 9-patch image); does NOT control actual border rendering
- Default Value
- 6
(static, constant) textExtension
Used for positioning calculations only (matches 6px border in 9-patch image); does NOT control actual border rendering
- Default Value
- 12
Methods
(static) OnImageLoadStatusChanged(event) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
event | object |
Returns:
- Type:
- void
(static) applyTheme() → {void}
Returns:
- Type:
- void
(static) init() → {void}
Returns:
- Type:
- void
(static) onBackgroundChanged() → {void}
Returns:
- Type:
- void
(static) onEnabledChanged() → {void}
Returns:
- Type:
- void
(static) onFocusChanged() → {void}
Returns:
- Type:
- void
(static) onIconBackgroundChanged() → {void}
Returns:
- Type:
- void
(static) onIconChanged() → {void}
Returns:
- Type:
- void
(static) onPaddingChanged() → {void}
Returns:
- Type:
- void
(static) onSelectedChanged() → {void}
Returns:
- Type:
- void
(static) onTextChanged() → {void}
Returns:
- Type:
- void
(static) setFocusBorderSize() → {void}
Returns:
- Type:
- void
(static) setIconSize() → {void}
Returns:
- Type:
- void
(static) updateButtonPositioning() → {void}
Updates button and text positioning based on textExtension constant This centers button elements under the wider text label
Returns:
- Type:
- void