MCPcopy
hub / github.com/g3n/engine / SetFontSize

Method SetFontSize

gui/edit.go:98–103  ·  view source on GitHub ↗

SetFontSize sets label font size (overrides Label.SetFontSize)

(size float64)

Source from the content-addressed store, hash-verified

96
97// SetFontSize sets label font size (overrides Label.SetFontSize)
98func (ed *Edit) SetFontSize(size float64) *Edit {
99
100 ed.Label.SetFontSize(size)
101 ed.redraw(ed.focus)
102 return ed
103}
104
105// SetStyles set the button styles overriding the default style
106func (ed *Edit) SetStyles(es *EditStyles) {

Callers 8

NewDropDownFunction · 0.45
newTreeNodeFunction · 0.45
SetTitleMethod · 0.45
SetFontSizeXMethod · 0.45
SetFontSizeYMethod · 0.45
InitializeMethod · 0.45
recalcMethod · 0.45
SetIconMethod · 0.45

Calls 1

redrawMethod · 0.95

Tested by

no test coverage detected