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

Struct FillLayout

gui/filllayout.go:8–11  ·  view source on GitHub ↗

FillLayout is the simple layout where the assigned panel "fills" its parent in the specified dimension(s)

Source from the content-addressed store, hash-verified

6
7// FillLayout is the simple layout where the assigned panel "fills" its parent in the specified dimension(s)
8type FillLayout struct {
9 width bool
10 height bool
11}
12
13// NewFillLayout creates and returns a pointer of a new fill layout
14func NewFillLayout(width, height bool) *FillLayout {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected