Question about multicolumn + listbox.
Posted: Wed Feb 13, 2008 07:08
K I'm working on keybinding gui... I used the cegui layout editor to create a multicolumnlist window with a listbox inside it. And then in code I went
and i created whole bunch of them but i can only put it into the first column. Is there a way to put WALK in the first column and the key "M" on the second column?
Code: Select all
itemMultiColumnList = new CEGUI::ListboxTextItem("WALK", 2);
itemMultiColumnList->setSelectionBrushImage("WindowsLook", "Background");
itemMultiColumnList->setTextColours(CEGUI::colour( 0.0f, 0.0f, 0.0f ));
mListBox->addItem(itemMultiColumnList);
and i created whole bunch of them but i can only put it into the first column. Is there a way to put WALK in the first column and the key "M" on the second column?