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

Method SetExpandV

gui/gridlayout.go:70–74  ·  view source on GitHub ↗

SetExpandV sets it the rowss should expand vertically if possible

(expand bool)

Source from the content-addressed store, hash-verified

68
69// SetExpandV sets it the rowss should expand vertically if possible
70func (g *GridLayout) SetExpandV(expand bool) {
71
72 g.expandv = expand
73 g.Recalc(g.pan)
74}
75
76// SetColAlignV sets the vertical alignment for all the cells of
77// the specified column. The function panics if the supplied column is invalid

Callers 1

BuildLayoutMethod · 0.95

Calls 1

RecalcMethod · 0.95

Tested by

no test coverage detected