TextAlign转换为HorizontalAlign