Nimbuslabel icon indicating copy to clipboard operation
Nimbuslabel copied to clipboard

textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER ?

Open caspahouzer opened this issue 10 years ago • 1 comments

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
            }
        ];

caspahouzer avatar May 14 '14 09:05 caspahouzer

textAlign is not supported yet..

ludolphus avatar May 14 '14 10:05 ludolphus