Project: titanium
Issue TIMOB-20195: Windows: The textAlign and verticalAlign property of the label is not working on windows phone
On windows phone the textAlign property of a label is always set to left no matter what I set it, the same for the verticalAlign always default to the top. The only way I could make the label text center is to set both its width and height as Ti.UI.SIZE and the label should be centered to the parent view and hence the text. Only a workaround but it's not very convenient because sometimes I would like to change the backgroundColor of the label from the click event but now it only changes the background of size of the text rather than the whole parent view. The bug exists on the latest Ti SDK 5.1.1
Story points: 5