Added support for text alignment attribute of UILabel.