DVUI

Alignment

Help left-align widgets by adding horizontal spacers.

Only valid between Window.beginand Window.end.

Fields

#
id:Id
Id
scale:f32
f32
max:?f32
?f32
next:f32
f32

Functions

#
spacer

Add spacer with margin.x so they all end at the same edge.

margin

Get the margin needed to align this id's left edge.

record

Record where this widget ended up so we can align it next frame.