EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 08-14-2006, 03:30 AM
thorvang thorvang is offline
A Rumbleroot Sapling
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 68
Default dynamic data filter not working right for me

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>
Attached Thumbnails
Click image for larger version

Name:	EQ2_000028.jpg
Views:	273
Size:	6.1 KB
ID:	5221  
Reply With Quote
  #2  
Unread 08-14-2006, 05:36 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Don't assign DynamicData to the <Page>.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 08-14-2006, 11:26 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:44 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI