Myrddin
June 5th, 2013, 01:44
I am trying to create a windowlist in columns to hold multiple "wound" values. The windowlist allows values to be created, but only allows interaction with the first (leftmost) value in the ordered list. Any ideas on how to fix this?
Windowclass code:
<windowclass name="charsheet_woundlistitem">
<sizelimits>
<minimum>
<height>30</height>
</minimum>
</sizelimits>
<sheetdata>
<basicnumber name="wound">
<bounds>5,6,22,16</bounds>
</basicnumber>
</sheetdata>
</windowclass>
and windowlist code:
<windowlist name="woundlist">
<anchored>
<to>hpframe</to>
<position>over</position>
<offset>-15,-90</offset>
<bottom>
<offset>-11</offset>
</bottom>
</anchored>
<columns>
<width>30</width>
<fillwidth />
</columns>
<allowcreate />
<allowdelete />
<datasource>.woundlist</datasource>
<class>charsheet_woundlistitem</class>
<sortby>
<control>wound</control>
</sortby>
<frame>
<name>modifier</name>
<offset>6,5,8,5</offset>
</frame>
</windowlist>
Windowclass code:
<windowclass name="charsheet_woundlistitem">
<sizelimits>
<minimum>
<height>30</height>
</minimum>
</sizelimits>
<sheetdata>
<basicnumber name="wound">
<bounds>5,6,22,16</bounds>
</basicnumber>
</sheetdata>
</windowclass>
and windowlist code:
<windowlist name="woundlist">
<anchored>
<to>hpframe</to>
<position>over</position>
<offset>-15,-90</offset>
<bottom>
<offset>-11</offset>
</bottom>
</anchored>
<columns>
<width>30</width>
<fillwidth />
</columns>
<allowcreate />
<allowdelete />
<datasource>.woundlist</datasource>
<class>charsheet_woundlistitem</class>
<sortby>
<control>wound</control>
</sortby>
<frame>
<name>modifier</name>
<offset>6,5,8,5</offset>
</frame>
</windowlist>