Text in scrollView

Well, I am trying to insert text into a scrollView from a .txt file

Everything works but the text is long and each line is long

and alot of text is off the screen because the lines are long

How can I wrap the off screen’s text into a new line ?

Using the width argument for the newText API lets you set where the line wrapping takes place:

https://docs.coronalabs.com/api/library/display/newText.html#width-height-optional-1

Using the width argument for the newText API lets you set where the line wrapping takes place:

https://docs.coronalabs.com/api/library/display/newText.html#width-height-optional-1