EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Randomly missing tooltips (https://www.eq2interface.com/forums/showthread.php?t=11792)

Draakthor 11-03-2008 10:01 PM

Randomly missing tooltips
 
I added text objects to the experience bar to show attack, avoidance, and mitigation but their tooltips are not appearing. Oddly enough, texts that I copy/pasted from these three to create runspeed and haste labels DO have tooltips. Is there any common mistake I might be making that'll cause dynamic tooltips to not show? As far as I can tell, there's nothing else obstructing them, the tooltips just aren't there. I can post the entire file if needed.

Here's the code for one of the broken texts:
Code:

<Text DynamicData="/GameData.Stats.Defense_Avoidance"
Font="/Fonts.FontZapf15"
LocalText="10000"
Location="126,39"
MaxLines="1"
Name="AVDValue"
ScrollExtent="38,17"
ShadowStyle="/ShadowStyles.Outline1"
Size="38,17"
TruncateElipsis="false">10000</Text>

And for a working text:
Code:

<Text DynamicData="/GameData.Stats.Run_Speed"
Font="/Fonts.FontZapf15"
LocalText="100%"
Location="92,73"
MaxLines="1"
Name="RunValue"
ScrollExtent="38,17"
ShadowStyle="/ShadowStyles.Outline1"
Size="38,17"
TruncateElipsis="false">100%</Text>


gm9 11-04-2008 03:11 AM

Quote:

Originally Posted by Draakthor (Post 76835)
As far as I can tell, there's nothing else obstructing them

If the two code snippets you posted are located on the same level in the XML tree and one works and the other doesn't then I'll guarantee that you have something obstructing the not-working one, that something having set AbsorbsInput="true".

sorinth 11-04-2008 06:34 AM

well, not being an xml coder, the only thing I see that is different is LocalText="10000" in the first one and 100% in the second.


Quote:

Originally Posted by Draakthor (Post 76835)
I added text objects to the experience bar to show attack, avoidance, and mitigation but their tooltips are not appearing. Oddly enough, texts that I copy/pasted from these three to create runspeed and haste labels DO have tooltips. Is there any common mistake I might be making that'll cause dynamic tooltips to not show? As far as I can tell, there's nothing else obstructing them, the tooltips just aren't there. I can post the entire file if needed.

Here's the code for one of the broken texts:
Code:

<Text DynamicData="/GameData.Stats.Defense_Avoidance"
Font="/Fonts.FontZapf15"
LocalText="10000"
Location="126,39"
MaxLines="1"
Name="AVDValue"
ScrollExtent="38,17"
ShadowStyle="/ShadowStyles.Outline1"
Size="38,17"
TruncateElipsis="false">10000</Text>

And for a working text:
Code:

<Text DynamicData="/GameData.Stats.Run_Speed"
Font="/Fonts.FontZapf15"
LocalText="100%"
Location="92,73"
MaxLines="1"
Name="RunValue"
ScrollExtent="38,17"
ShadowStyle="/ShadowStyles.Outline1"
Size="38,17"
TruncateElipsis="false">100%</Text>



keezyrick 11-04-2008 09:18 AM

Check the label element of the adjacent tag and make sure it is not overlapping the dynamic data. It might not be writing over it in appearance, but the label's reserved space may be over the top of your dynamic data for the non-working item and that will prevent a tooltip from appearing. The mouseover is not able to detect the dynamic data because there is a label on top of it.

You can select your dynamic data element in the tree and then hold the control key and start selecting the label elements of other things in the tree around it to see if there is overlap.

Just a thought.

Draakthor 11-04-2008 11:46 AM

Quote:

Originally Posted by gm9 (Post 76839)
If the two code snippets you posted are located on the same level in the XML tree and one works and the other doesn't then I'll guarantee that you have something obstructing the not-working one, that something having set AbsorbsInput="true".

Ah, thank you for pointing that out, I reopened it to check and one of the pages for the exp bar itself is overlapping those texts. I moved them to the top of the tree and now it works. Thanks!


All times are GMT -5. The time now is 06:10 PM.

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