Game Development Community

TGB guiMLTextCtrl newline bug

by Tom Ogburn · in Torque Game Builder · 04/16/2006 (10:22 am) · 2 replies

In Beta 1.1, I could add a newline control character to the text and it would just move to the next line. In beta 2 it adds an empty line between the values.

text = "Command your ship using the following controls:\nLeft = left arrow key\nRight = right arrow key\nFire = space bar";

in Beta 1.1 looks like this:

Quote:
Command your ship using the following controls:
Left = left arrow key
Right = right arrow key
Fire = space bar

In Beta 2 it looks like this:

Quote:
Command your ship using the following controls:

Left = left arrow key

Right = right arrow key

Fire = space bar

#1
04/22/2006 (5:16 pm)
I'm having the same problem, in addition to the issue with clipping the final character off of each line.

I guess I'll wait until someone finds a solution, at least I won't fuss with it anymore. :)
#2
05/22/2006 (9:13 am)
Yes, I got around all bugs in beta 3, but not this bug. Anybody knows how to fix it? Thanks