Documentation ¶
Overview ¶
Package desktop provides shared Fyne UI components: layouts, forms, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaddedLayout ¶
type PaddedLayout struct {
Padding float32
}
PaddedLayout stacks objects vertically. It adds Padding between each object and around all objects. Objects are displayed at their MinSize, both vertically and horizontally.
func NewPaddedLayout ¶
func NewPaddedLayout(padding float32) *PaddedLayout
NewPaddedLayout creates a new PaddedLayout instance with specified padding.
func (*PaddedLayout) Layout ¶
func (p *PaddedLayout) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
func (*PaddedLayout) MinSize ¶
func (p *PaddedLayout) MinSize(objects []fyne.CanvasObject) fyne.Size
Click to show internal directories.
Click to hide internal directories.