fyneplus

package module
v0.0.0-...-d192886 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 4 Imported by: 0

README

fyneplus

在fyne基础上增加一些自定义功能

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 NewMargin

func NewMargin(left, top, right, bottom float32) *margin

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL