Documentation ¶
Index ¶
Constants ¶
View Source
const ( Start = flat.LayoutAlignmentStart End = flat.LayoutAlignmentEnd Middle = flat.LayoutAlignmentMiddle Baseline = flat.LayoutAlignmentBaseline )
View Source
const ( Horizontal = flat.LayoutAxisHorizontal Vertical = flat.LayoutAxisVertical )
View Source
const ( SpaceEnd = flat.LayoutSpacingEnd SpaceStart = flat.LayoutSpacingStart SpaceSides = flat.LayoutSpacingSides SpaceAround = flat.LayoutSpacingAround SpaceBetween = flat.LayoutSpacingBetween SpaceEvenly = flat.LayoutSpacingEvenly )
View Source
const ( NW = Direction(flat.LayoutDirectionNW) N = Direction(flat.LayoutDirectionN) NE = Direction(flat.LayoutDirectionNE) E = Direction(flat.LayoutDirectionE) SE = Direction(flat.LayoutDirectionSE) S = Direction(flat.LayoutDirectionS) SW = Direction(flat.LayoutDirectionSW) W = Direction(flat.LayoutDirectionW) Center = Direction(flat.LayoutDirectionCenter) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alignment ¶
type Alignment = flat.LayoutAlignment
type Axis ¶
type Axis = flat.LayoutAxis
type Direction ¶
type Direction flat.LayoutDirection
func (Direction) CreateLayout ¶
type Spacer ¶
func (Spacer) CreateLayout ¶
func (x Spacer) CreateLayout(b *flatbuffers.Builder) op.Op
type Spacing ¶
type Spacing = flat.LayoutSpacing
type Stack ¶
type Stack struct {
Alignment Direction
}
func (Stack) AddLayout ¶
func (x Stack) AddLayout(b *flatbuffers.Builder, o *op.Ops, children ...StackChild) op.Ops
func (Stack) CreateLayout ¶
func (x Stack) CreateLayout(b *flatbuffers.Builder, children ...StackChild) op.Op
type StackChild ¶
type StackChild struct {
// contains filtered or unexported fields
}
func Expanded ¶
func Expanded(widget op.Ops) StackChild
func Stacked ¶
func Stacked(widget op.Ops) StackChild
Click to show internal directories.
Click to hide internal directories.