How can I center-align text? The following doesn’t work for me, it’s still left-aligned.
sprite:setReferencePoint(display.CenterReferencePoint)
sprite.x = 100
sprite.y = 100
Note the text has been given a width and height during creation (without it, I get odd font problems in the Windows simulator running iPad). Thanks! [import]uid: 10284 topic_id: 23470 reply_id: 323470[/import]
[import]uid: 123200 topic_id: 23470 reply_id: 94260[/import]