MCPcopy Index your code
hub / github.com/g3n/engine / SetExpandH

Method SetExpandH

gui/gridlayout.go:63–67  ·  view source on GitHub ↗

SetExpandH sets it the columns should expand horizontally if possible

(expand bool)

Source from the content-addressed store, hash-verified

61
62// SetExpandH sets it the columns should expand horizontally if possible
63func (g *GridLayout) SetExpandH(expand bool) {
64
65 g.expandh = expand
66 g.Recalc(g.pan)
67}
68
69// SetExpandV sets it the rowss should expand vertically if possible
70func (g *GridLayout) SetExpandV(expand bool) {

Callers 1

BuildLayoutMethod · 0.95

Calls 1

RecalcMethod · 0.95

Tested by

no test coverage detected