Files
craft-libs/crates/ui-contract/tests/it/layout
dotCooCoo 9d91223839 ui-contract: a leaf that measures zero on one side keeps its other side in the body
The size guard marks a leaf with a zero side as inert, and place_root
placed every inert component at a zero size. egui still added the item
spacing for that allocation, so a content-sized Row counted the gap
before an 8 x 0 leaf but not its width, and a popup sized from the
measuring run cut the leaf off at its edge.

place_root now places an inert component at its measured size when the
size is finite and in range. A size the guard rejects for every shape
still takes no room, and the leaf stays inert.
2026-11-28 20:53:10 -08:00
..