Commit Graph
2 Commits
Author SHA1 Message Date
dotCooCoo 01af858386 ui-contract: a fill-width row in a content-sized stack's header or footer spans the band
A stack that takes its width from its content, such as the column in a
popover, held a fill-width child of its header or footer band at its
measured width only in the measuring run. In the real run the child took
its content width, so a RowAlign::SpaceBetween or RowAlign::End row there
placed its children at the start of the band, as RowAlign::Start does.

The header band, and a footer in its own band, now keep the content
column in the real run too, as the body and a footer in the end region
or the body already did. The row shows across the band and places its
children by its alignment.

The new test shows a SpaceBetween and an End row in the header and in
the footer of a popover's stack and checks the children's x positions.
2026-11-29 10:45:17 -08:00
aiongg 46061c8e44 A stack's header and footer are spaced from its body by the stack's gap
The header is the stack's first row and the footer its last, so the gap
between the stack's children also separates them from the body. A gap set
after the header or footer keeps them in step; footer_gap still sets the
footer's own.
2026-11-12 15:53:56 +00:00