Hello guys,
can anyone tell, if there is a way to deactivate scrolling for newTextBox, and let it adjust itself to its text width and height?
Or is there a way to get string width and height (also for multiline strings), which I then can use to dynamically resize a text box, like:
local text = "Hello\nWorld."
local stringWidth, stringHeight = text:getSize()
local box = native.newTextBox(event.x, event.y, stringWidth, stringHeight)?
-cheers