Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBorderLayout ¶
func NewBorderLayout(top, bottom, left, right fyne.CanvasObject) fyne.Layout
NewBorderLayout creates a new BorderLayout instance with top, bottom, left and right objects set. All other items in the container will fill the centre space
func NewBorderLayoutWithMargin ¶
func NewBorderLayoutWithMargin(top, bottom, left, right fyne.CanvasObject, m margin) fyne.Layout
func NewVBoxLayout ¶
func NewVBoxLayout() fyne.Layout
NewVBoxLayout returns a vertical box layout for stacking a number of child canvas objects or widgets top to bottom. The objects are always displayed at their vertical MinSize. Use a different layout if the objects are intended to be larger then their vertical MinSize.
Types ¶
type Layout ¶
type Layout interface { fyne.Layout Margin(m margin) GetMargin() margin }
func NewHBoxLayout ¶
func NewHBoxLayout() Layout
NewHBoxLayout returns a horizontal box layout for stacking a number of child canvas objects or widgets left to right. The objects are always displayed at their horizontal MinSize. Use a different layout if the objects are intended to be larger then their horizontal MinSize.
func NewHBoxLayoutWithMargin ¶
func NewHBoxLayoutWithMargin(m margin) Layout
func NewVBoxLayoutWithMargin ¶
func NewVBoxLayoutWithMargin(m margin) Layout