layout

package
v0.5.0-preview Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlginHeight

func AlginHeight(view appkit.IView, targetView appkit.IView)

func AliginAnchors

func AliginAnchors(anchor appkit.ILayoutAnchor, targetAncor appkit.ILayoutAnchor)

func AliginBottom

func AliginBottom(view appkit.IView, targetView appkit.IView)

func AliginCenterX

func AliginCenterX(view appkit.IView, targetView appkit.IView)

func AliginCenterY

func AliginCenterY(view appkit.IView, targetView appkit.IView)

func AliginFirstBaseline

func AliginFirstBaseline(view appkit.IView, targetView appkit.IView)

func AliginLastBaseline

func AliginLastBaseline(view appkit.IView, targetView appkit.IView)

func AliginLeading

func AliginLeading(view appkit.IView, targetView appkit.IView)

func AliginLeft

func AliginLeft(view appkit.IView, targetView appkit.IView)

func AliginRight

func AliginRight(view appkit.IView, targetView appkit.IView)

func AliginTop

func AliginTop(view appkit.IView, targetView appkit.IView)

func AliginTrailing

func AliginTrailing(view appkit.IView, targetView appkit.IView)

func AlignWidth

func AlignWidth(view appkit.IView, targetView appkit.IView)

func AutoAlignControlsWidth

func AutoAlignControlsWidth(controls ...appkit.IControl)

AutoAlignControlsWidth set width anchor for multi controls, using the max width for all controls' width

func PinAnchorTo

func PinAnchorTo(anchor appkit.ILayoutAnchor, targetAncor appkit.ILayoutAnchor, offset float64)

func PinEdgesToSuperView

func PinEdgesToSuperView(view appkit.IView, edgeInsets foundation.EdgeInsets)

PinEdgesToSuperView set view's insets to it's super view.

func SetHeight

func SetHeight(view appkit.IView, height float64)

func SetMaxHeight

func SetMaxHeight(view appkit.IView, height float64)

func SetMaxWidth

func SetMaxWidth(view appkit.IView, width float64)

func SetMinHeight

func SetMinHeight(view appkit.IView, height float64)

func SetMinWidth

func SetMinWidth(view appkit.IView, width float64)

func SetWidth

func SetWidth(view appkit.IView, width float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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