SetFontSize sets the font size of the label/icon
(size float64)
| 123 | |
| 124 | // SetFontSize sets the font size of the label/icon |
| 125 | func (b *ImageButton) SetFontSize(size float64) { |
| 126 | |
| 127 | if b.label != nil { |
| 128 | b.label.SetFontSize(size) |
| 129 | b.recalc() |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | // SetImage sets the button left image from the specified filename |
| 134 | // If there is currently a selected icon, it is removed |