How do I set alignments for multiple components?