page

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type Labelpair

type Labelpair struct {
	// contains filtered or unexported fields
}

func (Labelpair) Layout

func (p Labelpair) Layout(gtx C, th *theme.Theme) D

type PageStyle

type PageStyle struct {
	Background color.NRGBA
	// Minimun padding of the left and right side.
	Padding  unit.Dp
	MaxWidth unit.Dp
	// contains filtered or unexported fields
}

func (*PageStyle) Layout

func (p *PageStyle) Layout(gtx C, th *theme.Theme, items ...layout.Widget) D

type RowItem

type RowItem struct {
	Alignment layout.Alignment
}

func (RowItem) Layout

func (item RowItem) Layout(gtx C, th *theme.Theme, labelDesc string, w layout.Widget) D

type Section

type Section struct {
	Title string
}

func (Section) Layout

func (s Section) Layout(gtx C, th *theme.Theme, w layout.Widget) D

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL