It looks like you're new here. If you want to get involved, click one of these buttons!
app @ application
local width = app:getContentWidth()
local rawText = "This is a long bit of text to bottom out setLayout once and for all. Some more words to make sure that this is plenty of text to force the function to split it out into multiple boxes."
local myFont = Font.new("arial-12.txt", "arial-12.png")
local fontTable = myFont:layoutText(rawText, width-20, 320, 0, 0, 0, 4, " ")
for i, v in ipairs(fontTable.parts) do
testBox = TextField.new(myFont, v.text, "", v)