package
0.0.23
Repository: https://github.com/cybriq/p9.git
Documentation: pkg.go.dev

# Packages

Package material implements the Material design.

# Functions

NewIcon returns a new Icon from IconVG data.

# Constants

Contain scales widget as large as possible without cropping and it preserves aspect-ratio.
Cover scales the widget to cover the constraint area and preserves aspect-ratio.
Fill stretches the widget to the constraints and does not preserve aspect-ratio.
ScaleDown scales the widget smaller without cropping, when it exceeds the constraint area.
Unscaled does not alter the scale of a widget.

# Structs

No description provided by the author
Border lays out a widget and draws a border inside it.
A ChangeEvent is generated for every user change to the text.
Click represents a click.
Clickable represents a clickable area.
Editor implements an editable and scrollable text area.
No description provided by the author
Float is for selecting a value in a range.
No description provided by the author
Image is a widget that displays an image.
Label is a widget for laying out and drawing text.
Press represents a past pointer press.
A SelectEvent is generated when the user selects some text, or changes the selection (e.g.
A SubmitEvent is generated when Submit is set and a carriage return key is pressed.

# Interfaces

No description provided by the author

# Type aliases

Fit scales a widget to fit and clip to the constraints.