[Solved] ComboBox_AddItem doesn´t work


13-01-2009 10:46:06

Hi, this snippet in my layout file, for some reason does not show any items in the combo box.
<Widget type="ComboBox" skin="ComboBox" position_real="0.75 0 0.25 0.15" align="Right Top" layer="Overlapped" name="cmbAddEntity">
<Property key="ComboBox_ModeDrop" value="true"/>
<Property key="Widget_Caption" value="#{Add_Entity}"/>
<Property key="ComboBox_AddItem" value="#{Mesh}"/>
<Property key="ComboBox_AddItem" value="Particle_Effect"/>
<Property key="ComboBox_AddItem" value="Terrain"/>

Edit: The item count is correct, but nothing happens when I click the box to show the list.

Any help with this would be appreciated.


13-01-2009 11:28:07

Second question : http://www.ogre3d.org/wiki/index.php/MyGUI_FAQ


13-01-2009 13:07:45

Ah, thank you, missed that one.

// Scanmaster_K