mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
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.