container

package
v0.0.0-...-6915f5a Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Unlicense, Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuoUIborder

func DuoUIborder(theme *theme.DuoUItheme, body layout.Dimensions, gtx layout.Context) layout.Dimensions

Types

type DuoUIcontainerStyle

type DuoUIcontainerStyle struct {
	// Color is the text color.
	Color         string
	Font          text.Font
	TextSize      unit.Value
	Background    string
	TxColor       string
	BgColor       string
	TxColorHover  string
	BgColorHover  string
	FullWidth     bool
	Width         int
	Height        int
	CornerRadius  int
	PaddingTop    int
	PaddingRight  int
	PaddingBottom int
	PaddingLeft   int
	// contains filtered or unexported fields
}

func DuoUIcontainer

func DuoUIcontainer(t *theme.DuoUItheme, padding int, background string) DuoUIcontainerStyle

func (DuoUIcontainerStyle) Layout

func (d DuoUIcontainerStyle) Layout(gtx layout.Context, direction layout.Direction, itemContent func(gtx layout.Context) layout.Dimensions) layout.Dimensions

Jump to

Keyboard shortcuts

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