View Single Post
  #4  
Unread 12-18-2005, 11:24 AM
manoel manoel is offline
A Young Mystail Rat
 
Join Date: Mar 2005
Server: Antonia Bayle
Posts: 5
Default

Do I need to make a separate XML file for the other window to refer to? What I did was add a page to the eq2ui_mainhud_startbutton window so that I'm not creating a new window (I think this is what Agathorn is talking about)

I extended the window size to accomodate the new page then added the content below within the main page. The layout comes out right in UIBuilder and in-game, but the icons just look like clouded squares and don't do anything when I click them.

Code:
<Page AbsorbsInput="false" BackgroundColor="#00FF00" eq2usescomwndcontrols="true" Location="0,48" Name="AutoInventory" PackLocation="fixed,fixed" ScrollExtent="230,37" Size="230,37">
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="165,1" MouseOverColor="#FFFF00" Name="InvSlot5" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="132,1" MouseOverColor="#FFFF00" Name="InvSlot4" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="99,1" MouseOverColor="#FFFF00" Name="InvSlot3" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="66,1" MouseOverColor="#FFFF00" Name="InvSlot2" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="33,1" MouseOverColor="#FFFF00" Name="InvSlot1" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
<Icon BackgroundTint="#000000" DynamicData="/GameData.Items.Inventory" IconStyle="/IconStyles.inventory" Location="0,1" MouseOverColor="#FFFF00" Name="InvSlot0" ScrollExtent="30,30" Size="30,30" TreatAsButton="true"/>
</Page>
Reply With Quote