layoutx

package
v0.0.0-...-e5e3ac4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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