how to write MutliList script(solved)

haibo19981984

28-02-2011 13:46:20

I use LayoutEditor.exe to add 3 items,as like image "MultiList1.JPG".
But I don't know to set the last column's name.

<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout" version="3.2.0">
<Widget type="MultiListBox" skin="MultiListBox" position="45 50 345 215" name="myMultiList">
<Widget type="MultiListItem" skin="" position="0 0 35 186">
<Property key="Caption" value="num"/>
</Widget>
<Widget type="MultiListItem" skin="" position="35 0 41 186">
<Property key="Caption" value="server"/>
</Widget>
<Widget type="MultiListItem" skin="" position="76 0 41 186">
<Property key="Caption" value="State"/>
</Widget>
</Widget>
</MyGUI>

Anybody can solve it?

Altren

28-02-2011 15:27:25

I'll fix this in several days.

Altren

01-03-2011 08:39:31

There was bug in LE that wasn't letting you select single column. Now it is fixed.
You should do next thing: create 4th column, select it and set resizing policy to "Fill".

haibo19981984

02-03-2011 10:03:15


<Widget type="MultiListItem" skin="" position="0 0 40 186">
<Property key="Caption" value="Number"/>
<Property key="ItemResizingPolicy" value="Fill"/>
</Widget>

above is correct script.