Page 1 of 1

How to add TextItem to combobox in the layout

Posted: Tue Apr 24, 2012 10:20
by zhkingzh
I want to write combobox in the layout,how to add TextItem?I have already add combobox in the layout.
If only write in zhe code ,how to get the combobox point,how to add TextItem to it.
Please help me,thanks,thanks,thanks...

layout arleady add these code:

<Window Type="TaharezLook/Combobox" Name="combobox//" >
<Property Name="UnifiedAreaRect" Value="{{0.506896,0},{0.145865,0},{0.756896,0},{0.395865,0}}" />
<Property Name="MaxEditTextLength" Value="1073741823" />
</Window>

Re: How to add TextItem to combobox in the layout

Posted: Mon Apr 30, 2012 08:26
by CrazyEddie
The current combobox (and multi column list, and one of the other list box types) use content that is not CEGUI::Window based - this means you can't add that content via layout files.

CE.