Native.newtextbox Multiline Functionality Bug/broke Text Wrapping.

I have a multi line textbox that shows some information and the user can add to that info. I have to display the text first and I set the width and height to allow the text to wrap and scroll vertically. However the textbox ignores the width setting and adds horizontal scrolling even tho I have it set not to. Here is some sample code:

--ADD THE BODY TXT local bodyInput = native.newTextBox(0, 50, 300, 300) bodyInput.isEditable = true bodyInput.hasBackground = true bodyInput.font=native.newFont( native.systemFont, 19 ) bodyInput:setTextColor(179,179,179) bodyInput.text = "If you've struggled with mobile development or are stumped where to begin, then you'll love Corona. Our APIs are simple and easy to use."

This should create a non scrolling textbox thats 300x300 with the text I set wrapping in the text box. What it actually does is add horizontal scrolling and ignore the width setting. Please help Corona.

Are you using the simulator or a real device?  I’ve learned that the display on the Corona simulator scrolls horizontally, but works fine on a real iPhone, iPod or Android.  (However on android I am having problems with the scrolling being ‘stiff’, it won’t scroll after you flick it)

Daniel

Hey Daniel, I am actually testing on my iPad (3rd Gen) and am getting the horizontal scrolling and no wrapping.

sorry!  I was hoping that would help.  My textboxes look very similar to yours in the code with one exception; I do not set them as editable (not needed for my app.).   I’m using build 1076.

Daniel

Gotcha, they seem to work fine when not editable

I take that back Daniel, its working on my device fine!!! Just not in the simulator, I hope that wasn’t my issue all along… Is that documented somewhere?

Are you using the simulator or a real device?  I’ve learned that the display on the Corona simulator scrolls horizontally, but works fine on a real iPhone, iPod or Android.  (However on android I am having problems with the scrolling being ‘stiff’, it won’t scroll after you flick it)

Daniel

Hey Daniel, I am actually testing on my iPad (3rd Gen) and am getting the horizontal scrolling and no wrapping.

sorry!  I was hoping that would help.  My textboxes look very similar to yours in the code with one exception; I do not set them as editable (not needed for my app.).   I’m using build 1076.

Daniel

Gotcha, they seem to work fine when not editable

I take that back Daniel, its working on my device fine!!! Just not in the simulator, I hope that wasn’t my issue all along… Is that documented somewhere?