Automatic Layouts for Containers