layout

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGreedyLayoutItem

func NewGreedyLayoutItem(orientation walk.Orientation) walk.LayoutItem

NewGreedyLayoutItem returns a layout item that is greedy at the given orientation.

Types

type GreedyLayoutItem

type GreedyLayoutItem struct {
	*walk.LayoutItemBase
	// contains filtered or unexported fields
}

GreedyLayoutItem is like walk.NewGreedyLayoutItem, but with specific orientation support. If an orientation is provided, it will be greedy at the given orientation but not other orientations.

func (*GreedyLayoutItem) IdealSize

func (hg *GreedyLayoutItem) IdealSize() walk.Size

func (*GreedyLayoutItem) LayoutFlags

func (hg *GreedyLayoutItem) LayoutFlags() walk.LayoutFlags

func (*GreedyLayoutItem) MinSize

func (hg *GreedyLayoutItem) MinSize() walk.Size

Jump to

Keyboard shortcuts

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