Versions in this module Expand all Collapse all v0 v0.5.0-0.dev Jan 9, 2024 v0.4.0 Jan 9, 2024 Changes in this version + func MiddleAligned(gtx Context, w Widget) layout.Dimensions + func Overlay(gtx Context, w1 Widget, w2 Widget) layout.Dimensions + func RightAligned(gtx Context, w Widget) layout.Dimensions + func Rigids(gtx Context, axis layout.Axis, ws ...Widget) layout.Dimensions + func WithCursor(gtx Context, p pointer.Cursor, w Widget) layout.Dimensions type List + Alignment Alignment + Axis Axis + Position Position + ScrollToEnd bool + func (l *List) Dragging() bool + func (l *List) Layout(gtx Context, len int, w ListElement) Dimensions + func (l *List) ScrollBy(num float32) + func (l *List) ScrollTo(n int) type Position + BeforeEnd bool + Count int + First int + ForceEndAligned bool + Length int + Offset int + OffsetLast int v0.4.0-0.dev Aug 9, 2023 v0.3.0 Aug 7, 2023 v0.3.0-0.dev Apr 11, 2023 v0.2.0 Apr 11, 2023 v0.2.0-0.dev Mar 30, 2023 v0.1.0 Mar 30, 2023 Changes in this version + const SpaceAround + const SpaceBetween + const SpaceEnd + const SpaceEvenly + const SpaceSides + const SpaceStart + var Exact = layout.Exact + var Expanded = layout.Expanded + var Flexed = layout.Flexed + var NewContext = layout.NewContext + var Rigid = layout.Rigid + var Stacked = layout.Stacked + var UniformInset = layout.UniformInset + func Cross(a Axis, pt *image.Point) *int + func Main(a Axis, pt *image.Point) *int + type Alignment = layout.Alignment + const Baseline + const End + const Middle + const Start + type Axis = layout.Axis + const Horizontal + const Vertical + type Constraints = layout.Constraints + func Normalize(c Constraints) Constraints + type Context = layout.Context + type Dimensions = layout.Dimensions + type Direction = layout.Direction + const Center + const E + const N + const NE + const NW + const S + const SE + const SW + const W + type Flex = layout.Flex + type FlexChild = layout.FlexChild + type Inset = layout.Inset + type List = layout.List + type ListElement = layout.ListElement + type PixelInset struct + Bottom int + Left int + Right int + Top int + func (in PixelInset) Layout(gtx Context, w Widget) Dimensions + type Position = layout.Position + type SmallGrid struct + ColumnPadding int + Grid outlay.Grid + RowPadding int + func (sg SmallGrid) Layout(gtx Context, rows, cols int, sizeEstimator outlay.Cell, cellFunc outlay.Cell) Dimensions + type Spacer = layout.Spacer + type Spacing = layout.Spacing + type Stack = layout.Stack + type Widget = layout.Widget