NewLabel creates and returns a label panel with the specified text drawn using the default text font.
(text string)
| 32 | // NewLabel creates and returns a label panel with |
| 33 | // the specified text drawn using the default text font. |
| 34 | func NewLabel(text string) *Label { |
| 35 | return NewLabelWithFont(text, StyleDefault().Font) |
| 36 | } |
| 37 | |
| 38 | // NewIcon creates and returns a label panel with |
| 39 | // the specified text drawn using the default icon font. |
no test coverage detected