Nimbuslabel
Nimbuslabel copied to clipboard
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER ?
I though I understood how it works, but I fail on aligning the text centered. This are my attributes.
var attr = [
{
type: 'font',
value: {
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER,
fontSize: 22
},
start: 0,
length: entry.text.length
},
{
type: 'color',
value: '#fff',
start: 0,
length: entry.text.value.length
}
];
textAlign is not supported yet..