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
Click to show internal directories.
Click to hide internal directories.