Page 1 of 1

Tables? Available, or recommended approach?

Posted: Mon Apr 02, 2007 15:14
by Protagonist
Hi there

I've searched around, but can't quite get a straight answer/solution.

Are tables available for CEGUI? And if not, what's the best approach to make one manually?

I simply need to create a table of fixed dimensions and number of cells, where the only thing I'll change being the text in the the cells.

I've read that I could use statictext, but that the peformance hit would be considerable.

If anybody could help, that'd be greatly appreciated.

Thanks

Posted: Mon Apr 02, 2007 16:26
by Rackle
Check out the MultiColumnList widget, which is a "table" of text data.

Posted: Mon Apr 02, 2007 18:02
by Protagonist
Hmm thanks, but I only want the table for display of data, I don't want it modifiable. But multi column list seems to use listboxes..

Posted: Mon Apr 02, 2007 19:01
by Rackle
Download and run the code from WidgetGalore. You'll see that it's read-only. It really is what you are looking for.

Posted: Mon Apr 02, 2007 19:41
by Protagonist
Thanks. Got it working in my project.
However, I'd really like lines or borders or something of some sort to make rows and columns visible. Any suggestions?