Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not enforce label text alignment based off effective user interfac…
…e layout direction (#5475) The problem: We were enforcing label text alignment based off effective user interface layout direction. As a result, if the system language was English and you created an Arabic label (with its textAlignment set to Right) the label would ultimately end up with a textAlignment of Left. The solution: Don't set textAlignment from within the cell. Leave it to the client. Closes #5472. Before: ![simulator screen shot - iphone x - 2018-10-22 at 16 23 26](https://user-images.githubusercontent.com/8020010/47317932-b50eb800-d618-11e8-999d-19aad687dbf2.png) After: ![simulator screen shot - iphone x - 2018-10-22 at 16 23 58](https://user-images.githubusercontent.com/8020010/47317931-b50eb800-d618-11e8-9ae1-c70d4af7f3ae.png)
- Loading branch information