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)
| 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. |
| 48 | func (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. |