I am using ui.alignment to align text, but the ALIGN_RIGHT attribute aligns the text to the center, and the ALIGN_CENTER attribute aligns it to the right.