Better warnings for layout configuration