Text will be wrapped, if we use
width = 128, --required for multiline and alignment
height = 300,
is there a way to “justify” the text?
and where do I write it, if I have this
local tx1 = display.newText ("this text justify", 30, 20, 452, 400, nil, 18)
I try this, from corona labs
local options = { --parent = groupObj, text = "Hello World", x = 150, y = 150, width = 128, --required for multiline and alignment height = 300, --required for multiline and alignment font = native.systemFontBold, fontSize = 18, align = "left" --new alignment field } local myText = display.newText( options )
and got error
Bad argument #-1 to ‘newText’ (Proxy expected, got nil)