Skip to main content

Module layout

Module layout 

Source

Structs§

LayoutNode
Rect

Enums§

Align
FlexDir

Functions§

compute
Compute layout starting at (0,0) with given available size. Returns the root LayoutNode with absolute coordinates.
hit_test
Hit-test: find deepest clickable, enabled node at (mx, my).
set_focus
Walk tree and set focused = true on the node whose id matches, false on all others.