Page 1 of 1

Controlling Columns in MultiColumnListBox through xml

Posted: Mon Nov 28, 2005 11:03
by Sachin
Hello

is there any way to add columns in a MultiColumnListBox through the xml file?

Or Is there any property in the MultiColumnListBox class that can control the number of columns in it.

Re: Controlling Columns in MultiColumnListBox through xml

Posted: Mon Nov 28, 2005 11:16
by CrazyEddie
You need a fairly recent version of CEGUI (0.4.0 or above IIRC).

The property is "ColumnHeader"

You can specify it multiple times in XML to add columns.

Re: Controlling Columns in MultiColumnListBox through xml

Posted: Tue Nov 29, 2005 11:29
by Sachin
how about adding rows to multi column list through xml
?

Re: Controlling Columns in MultiColumnListBox through xml

Posted: Tue Nov 29, 2005 11:53
by martignasse
how about adding rows to multi column list through xml ?
i think it's not available until the 0.5 version, where the list items will be revamped to use widgets content.