static Rect combinedChildBounds(Container c) { ret mergeRects(map(listChildren(c), child -> toRect(getBounds(child)))); }