6

I'm adding some text to the text box which is docked to window of 300x400 size. When I add some lengthily text I'm wrapping the text to the next line which makes my output look kind of bad looking.

How to prevent wrapping words in multiline text box?

I have tried having both horizontal and vertical scroll bars, but it doesn't seem to work.

1 Answer 1

12

Just set the WordWrap property to false.

3
  • Ah! I read the properties one time or another and I always miss some. Thanks.
    – HelpNeeder
    Commented Jan 22, 2012 at 15:18
  • I still get a wrap at 1024 characters. I don't see an obvious reason why... is that a hard cap?
    – ruffin
    Commented Dec 22, 2015 at 20:37
  • No idea... you could probably find out if you look at the source code Commented Dec 23, 2015 at 7:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.