Documentation ¶
Overview ¶
Package layoutx custom layout
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHBoxLayout ¶
func NewHBoxLayout(objects ...fyne.CanvasObject) fyne.CanvasObject
NewHBoxLayout NewHBoxLayout
func NewVBoxLayout ¶
func NewVBoxLayout(objects ...fyne.CanvasObject) fyne.CanvasObject
NewVBoxLayout NewVBoxLayout
Types ¶
type HBoxLayout ¶
type HBoxLayout struct{}
HBoxLayout 自定义横向布局
func (*HBoxLayout) Layout ¶
func (hb *HBoxLayout) Layout(objects []fyne.CanvasObject, size fyne.Size)
Layout Layout
func (*HBoxLayout) MinSize ¶
func (hb *HBoxLayout) MinSize(objects []fyne.CanvasObject) fyne.Size
MinSize MinSize
type VBoxLayout ¶
type VBoxLayout struct{}
VBoxLayout 自定义横向布局
func (*VBoxLayout) Layout ¶
func (hb *VBoxLayout) Layout(objects []fyne.CanvasObject, size fyne.Size)
Layout Layout
func (*VBoxLayout) MinSize ¶
func (hb *VBoxLayout) MinSize(objects []fyne.CanvasObject) fyne.Size
MinSize MinSize
Click to show internal directories.
Click to hide internal directories.