ListBox item colors

EthanB

22-05-2011 20:35:39

I wanted to know if it was possible to set the items of a ListBox different colors.

I tried doing
myListBox->addItem("test color", MyGUI::Colour( 255, 0, 0 ));
without success.

Thanks for the help,
Ethan

Altren

23-05-2011 00:10:28

"#00FF00Green text". That second value in addItem is not color - it is user data.