Game Development Community

how can I set text to wrap in GuiTextCtrl

by Amjad Yahya · in Torque Game Builder · 06/04/2011 (7:09 am) · 3 replies

I have this GuiTextCtrl which displays info during game play, but the problem is that the info is too long and it needs to be on multiple lines, in another words I need the text to be wrapped, could not find any info about this.

#1
06/05/2011 (6:23 am)
Hello!
#2
06/05/2011 (10:57 am)
You can use GuiMLTextCtrl, or (once you get a source code license) you can modify the class to go multiline. Those are really the only two options- and the first the easiest, even if you have to deal with some different behavior with how GuiMLTextCtrl works.
#3
06/06/2011 (6:55 am)
thanks a lot, that was very helpful and it actually worked.