switching the alignment of the text changes the orientation of the line