How do you know when a layout is finished?