func NewGridLayout(opts ...GridLayoutOpt) *GridLayout {
	g := &GridLayout{}
	for _, o := range opts {
		o(g)
	}
	return g
}
NewGridLayout constructs a new GridLayout, configured by opts.
package widget
import (
	"image"
	"math"
)
type GridLayout struct {
	columns       int
	padding       Insets
	columnSpacing int
	rowSpacing    int
	columnStretch []bool
	rowStretch    []bool
}
type GridLayoutOpt func(g *GridLayout)
type GridLayoutOptions struct {
}
type GridLayoutData struct {
	MaxWidth int
	MaxHeight int
	HorizontalPosition GridLayoutPosition
	VerticalPosition GridLayoutPosition
}
type GridLayoutPosition int
const (
	GridLayoutPositionStart = GridLayoutPosition(iota)
	GridLayoutPositionCenter
	GridLayoutPositionEnd
)
var GridLayoutOpts GridLayoutOptions