virtual class vaseGui::Layout

sys::Obj
  vaseGui::Layout

@Js
@Serializable

Tell parent how to layout this widget The parent may ignore the param

equals

virtual override Bool equals(Obj? obj)

Return if obj is same Point value.

hAlign

Align hAlign := Align.begin

horizontal Alignment

hash

virtual override Int hash()

Return hash of x and y.

height

Int height := wrapContent

height of widget

ignored

Bool ignored := false

matchParent

const static Int matchParent := 0

fill parent or others define by layout pane

offsetX

Int offsetX := 0

x position of widget.

offsetY

Int offsetY := 0

y position of widget.

prefHeight

Int prefHeight(Widget w, Int parentHeight, Int selfHeight)

prefWidth

Int prefWidth(Widget w, Int parentWidth, Int selfWidth)

prefX

Int prefX(Widget w, Int parentWidth, Int selfWidth)

prefY

Int prefY(Widget w, Int parentHeight, Int selfHeight)

vAlign

Align vAlign := Align.begin

vertical Alignment

weight

Float weight := 1.0f

layout weight compare to sibling widget

width

Int width := matchParent

width of widget

wrapContent

const static Int wrapContent := -1

preferred size by prefSize()