MultiColumnList row selection not highlighting
Posted: Wed Apr 20, 2005 21:18
I have a MultiColumnList.
Part of its initialization includes this:
When I add rows, my ListBoxTextItem includes this:
The row is highlighted if I select it in code like this:
However, if I select it with the mouse, the row is not highlighted. I get an EventSelectionChanged, and I can get the item with getFirstSelectedItem(), so everything seems to be working. The row just doesn't get visually highlighted.
Any suggestions?
Part of its initialization includes this:
Code: Select all
list->setSelectionMode(CEGUI::MultiColumnList::RowSingle);
When I add rows, my ListBoxTextItem includes this:
Code: Select all
item->setSelectionBrushImage("TaharezLook", "ListboxSelectionBrush");
The row is highlighted if I select it in code like this:
Code: Select all
list->setItemSelectState(item, true);
However, if I select it with the mouse, the row is not highlighted. I get an EventSelectionChanged, and I can get the item with getFirstSelectedItem(), so everything seems to be working. The row just doesn't get visually highlighted.
Any suggestions?