Files
craft-libs/crates
aiongg 5f0331fbff Row line: a one-line child sits on the row's line, a taller one at its top
A child placed on an unwrapped row's line reports how far below its top
the centre of its first line lies: half a control's height, a row body's
line, or a container's first child's first line (its header's, else its
body's), which its measuring run records. A child whose first line lies
at half its height is one line (a control, a row of one-line children, a
field with its label beside its control) and sits with its centre on the
row's line, so a side-labelled field holding smaller controls centres
them. A child of more than one line (a column, a field with its label
above or a help line below) sits at the row's top, as does one with no
line of its own (a collection whose rows run along Y), so columns beside
each other share their tops. The row's line is the lowest centre of its
one-line children, or of the line it shares with its container's inline
regions; the row records the line's centre and its height, and takes
that height in its measuring run.

Replaces the line/block split, where every container sat at the row's top.
2026-11-12 15:53:56 +00:00
..