Game Development Community

GuiTextListCtrl

by Joseph Jones · in Torque Game Engine · 01/12/2004 (9:55 am) · 3 replies

Hello All,
Me again :) I wanted to ask if anyone knows how to create a guiTextListCtrl with columns that expand or contract in size in relation the the video resolution. What i have is a list in a scroll control and the scroll control is sized relatively to the video resolution, I have about 6 columns within the listing and I would like to be able to specify the column parameter in accordance to video resolution. I hope that makes sense.

Thanks!

#1
01/12/2004 (10:41 am)
The offsets of the columns are set in the offset (I think thats what its called) parameter of the control. But they wont resize by themselves. You'll have to add something that gets the parents size and calculates the new text list column sizes depending on how you want it.

So basically, add some code! :)
#2
01/13/2004 (5:26 am)
Thanks, I figured a way to do it about the time you posted that I needed to develop the script/code. I was just curios if it was already done. No sense reinventing the wheel :)

Thanks
#3
06/11/2006 (4:36 pm)
*thread drudging is fun!*

Did you ever build this solution Joseph? Any chance of a resource?