EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   dynamic data filter not working right for me (https://www.eq2interface.com/forums/showthread.php?t=6614)

thorvang 08-14-2006 03:30 AM

dynamic data filter not working right for me
 
1 Attachment(s)
i created a small window for resistances, placing it in the root. to get the popup when hovering over the respective window i added the dynamic data to the framing page too. but now it also sets the color of the window sometimes (see attachement).

what am i doing wrong?

sniplet:
Code:

<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="89,9" MaximumSize="348,350" MinimumSize="42,44" Name="Resi" ScrollExtent="178,78" Size="178,78" UserMovable="true" UserResizable="true">
<VolumePage CellCount="1,2" Location="3,3" MinimumScrollExtent="36,70" Name="Items" PackLocation="top,left" PackLocationProp="0003/0001,0003/0001" PackSize="a,a" PackSizeProp="0002/0001,0008/0001" ScrollExtent="176,70" Size="176,70">
<Page Color="#FFFFFF" DynamicData="/GameData.Stats.Cold" DynamicDataFilter="0004" Location="2,2" MaximumSize="32,32" MinimumSize="32,32" Name="Cold" ScrollExtent="32,32" Size="32,32">
<Text DynamicData="/GameData.Stats.Cold" Font="/TextStyles.Small.SmallStyle" LocalText="10000" Location="0,17" Name="ColdValue" ScrollExtent="32,15" Size="32,15" TextAlignment="Center" TextAlignmentVertical="Center">10000</Text>
<Image Location="6,1" Name="Cold" ScrollExtent="20,20" Size="20,20" SourceRect="170,3,210,43" SourceResource="images/icons/icon_ns4.dds"/>
<Image Name="Bkg" ScrollExtent="32,32" Size="32,32" SourceRect="0,0,32,32" SourceResource="images/tiny_frame.dds"/>
</Page>


gm9 08-14-2006 05:36 AM

Don't assign DynamicData to the <Page>.

Landiin 08-14-2006 11:26 AM

There isn't anything wrong with your code. The filter for color has always been a bit bugged. Like gm9 said take the DD out of the page is about the only thing you can do to stop the color change.

What you can do to get the same effect you are after is; make your <Text> object the same size as its parint <page> and set Valign=bottom & align=Center.


All times are GMT -5. The time now is 03:58 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI