@Danny: I’ll file a bug report.
Here is what I have found so far:
local textObj1 = display.newText( "sample text 1", 10, 240, 300, 0, "Arial", 12 )
local textObj2 = display.newText( "sample text 2", 10, 440, 300, 20, "Arial", 12 )
textObj2:setReferencePoint(display.CenterReferencePoint)
Stretches the textObj1 to make it 300 in width. This happens when I specify paragraph height as 0.
When I specify paragraph height as 20 in textObj2, it is not stretched. But setReferencePoint does not work. The text is always left aligned.
[import]uid: 19297 topic_id: 23735 reply_id: 95573[/import]