NewIcon creates and returns a label panel with the specified text drawn using the default icon font.
(icon string)
| 38 | // NewIcon creates and returns a label panel with |
| 39 | // the specified text drawn using the default icon font. |
| 40 | func NewIcon(icon string) *Label { |
| 41 | return NewLabelWithFont(icon, StyleDefault().FontIcon) |
| 42 | } |
| 43 | |
| 44 | // NewLabelWithFont creates and returns a label panel with |
| 45 | // the specified text drawn using the specified font. |
no test coverage detected