I have filed a bug a while ago, not sure what the status is. Wrapping on native textboxes is BROKE! It has been broken for some time now! Go to the Corona samples -> Interface -> Native Display Objects -> textBox. Now go ahead and type some long sentences that should wrap… They don’t! The textbox just adds scrolling(not supposed to do this cus width is supplied). This shouldn’t happen, the text should wrap to the next line based on the width of the text box. This has been broken for WAY too long. Am I wrong with my expectations on how it should function??? It should automatically wrap correct?
I observe the same. If you hit enter you can get a paragraph break but the lines in a pragraph don’t wrap as they should. Definitely a bug but I’m not sure whose bug it is (ie Apple or Corona). Lets hope we get some response on your excellent post and bug report. Thanks
I observe the same. If you hit enter you can get a paragraph break but the lines in a pragraph don’t wrap as they should. Definitely a bug but I’m not sure whose bug it is (ie Apple or Corona). Lets hope we get some response on your excellent post and bug report. Thanks
I am also having this problem with textboxes not automatically wrapping text. Says it should in the docs but not happening for me, so hope this is something they can fix soon!
*note: this is in simulator for me, have not tried building it to device yet, not sure if that might make a difference.
This is likely a difference in between how native.newTextBox’s work on the sim vs. the device. If you build the sample for the device and test it there, it wraps as it should. On the sim, it seems to want to go on forever.
I don’t see from this thread where any one actually filed a bug report on this. Can someone and when done please post the bug number back here as a reference?
Thanks
Rob
I am also having this problem with textboxes not automatically wrapping text. Says it should in the docs but not happening for me, so hope this is something they can fix soon!
*note: this is in simulator for me, have not tried building it to device yet, not sure if that might make a difference.
This is likely a difference in between how native.newTextBox’s work on the sim vs. the device. If you build the sample for the device and test it there, it wraps as it should. On the sim, it seems to want to go on forever.
I don’t see from this thread where any one actually filed a bug report on this. Can someone and when done please post the bug number back here as a reference?
Thanks
Rob