Set layout for shapes