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

Method SetAlignV

gui/gridlayout.go:48–52  ·  view source on GitHub ↗

SetAlignV sets the vertical alignment for all the grid cells The alignment of an individual cell can be set by settings its layout parameters.

(align Align)

Source from the content-addressed store, hash-verified

46// SetAlignV sets the vertical alignment for all the grid cells
47// The alignment of an individual cell can be set by settings its layout parameters.
48func (g *GridLayout) SetAlignV(align Align) {
49
50 g.alignv = align
51 g.Recalc(g.pan)
52}
53
54// SetAlignH sets the horizontal alignment for all the grid cells
55// The alignment of an individual cell can be set by settings its layout parameters.

Callers 1

BuildLayoutMethod · 0.95

Calls 1

RecalcMethod · 0.95

Tested by

no test coverage detected