MxN
Can't get enough of FH
- Joined
- Nov 29, 2004
- Messages
- 1,425
Oki ill Try to explain how u change this for your custom UI's
You will need to edit the stats_combat_window.xml using notpad, You will have to change the definition of the ListBoxDef with ControlId 1000 into a TreeControlDef in the stats_combat_window.xml file,
k mxn v3 is allready updated but this how i updated my UI
Find
<ListBoxDef>
<ControlId>1000</ControlId>
<Position>
<X>5</X>
<Y>24</Y>
</Position>
<Alignment>
<GrowWidth>true</GrowWidth>
</Alignment>
<Width>178</Width>
<Height>367</Height>
<TemplateName>listbox_combat_bg</TemplateName>
<AdapterName>stats_combat</AdapterName>
<Sorting>false</Sorting>
<Columns>2</Columns>
<IconTemplate></IconTemplate>
<ShowIndicator>false</ShowIndicator>
<ShowDefaultToolTips>false</ShowDefaultToolTips>
<OnHeaderClickEvent></OnHeaderClickEvent>
<OnClickEvent></OnClickEvent>
</ListBoxDef>
(may appear abit different but the start should look the same)
Delete that:
Then Paste this in its place
<TreeControlDef>
<ControlId>1000</ControlId>
<Position>
<X>8</X>
<Y>26</Y>
</Position>
<Alignment>
<GrowWidth>true</GrowWidth>
<GrowHeight>true</GrowHeight>
</Alignment>
<TemplateName>generic_tree_control</TemplateName>
<AdapterName>stats_combat</AdapterName>
<Width>178</Width>
<Height>367</Height>
<Column1Width>100</Column1Width>
<Column1Offset>10</Column1Offset>
<Column2Width>100</Column2Width>
<Column2Offset>125</Column2Offset>
</TreeControlDef>
Save the file and everything should work perfect
Note
You may need to change the
<Width>178</Width>
<Height>367</Height>
I recommend before Changing this file u should:
check the ui/custom/stats_combat_window.xml file and look for the ListBoxDef, The ListBoxDef in question should have
<Width>xxx</Width>
<Height>xxx</Height>
Copy this and put into the new
<TreeControlDef>
You're about to add!
Hope all that makes sense
You will need to edit the stats_combat_window.xml using notpad, You will have to change the definition of the ListBoxDef with ControlId 1000 into a TreeControlDef in the stats_combat_window.xml file,
k mxn v3 is allready updated but this how i updated my UI
Find
<ListBoxDef>
<ControlId>1000</ControlId>
<Position>
<X>5</X>
<Y>24</Y>
</Position>
<Alignment>
<GrowWidth>true</GrowWidth>
</Alignment>
<Width>178</Width>
<Height>367</Height>
<TemplateName>listbox_combat_bg</TemplateName>
<AdapterName>stats_combat</AdapterName>
<Sorting>false</Sorting>
<Columns>2</Columns>
<IconTemplate></IconTemplate>
<ShowIndicator>false</ShowIndicator>
<ShowDefaultToolTips>false</ShowDefaultToolTips>
<OnHeaderClickEvent></OnHeaderClickEvent>
<OnClickEvent></OnClickEvent>
</ListBoxDef>
(may appear abit different but the start should look the same)
Delete that:
Then Paste this in its place
<TreeControlDef>
<ControlId>1000</ControlId>
<Position>
<X>8</X>
<Y>26</Y>
</Position>
<Alignment>
<GrowWidth>true</GrowWidth>
<GrowHeight>true</GrowHeight>
</Alignment>
<TemplateName>generic_tree_control</TemplateName>
<AdapterName>stats_combat</AdapterName>
<Width>178</Width>
<Height>367</Height>
<Column1Width>100</Column1Width>
<Column1Offset>10</Column1Offset>
<Column2Width>100</Column2Width>
<Column2Offset>125</Column2Offset>
</TreeControlDef>
Save the file and everything should work perfect
Note
You may need to change the
<Width>178</Width>
<Height>367</Height>
I recommend before Changing this file u should:
check the ui/custom/stats_combat_window.xml file and look for the ListBoxDef, The ListBoxDef in question should have
<Width>xxx</Width>
<Height>xxx</Height>
Copy this and put into the new
<TreeControlDef>
You're about to add!
Hope all that makes sense
