Custom layout that arranges children in a grid-like manner, optimizing for even horizontal and   vertical whitespace.