2
I’m a little lost in the use of \t
. On the console, it works and in the simulator it is ignored. If anyone knows of a possible solution.
local myText = display.newText("a\tb", 200, 100, native.systemFont, 16)
print(myText.text)
Or:
a = "oi"
b = "teste"
local myText = display.newText(a.."\t"..b, 200, 100, native.systemFont, 16)
print(myText.text)