EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Target window (new con) woes (https://www.eq2interface.com/forums/showthread.php?t=1500)

ReilenBlaeyze 02-17-2005 09:24 PM

Target window (new con) woes
 
5 Attachment(s)
I'm trying to modify the new con style target window to display health and power percentages.

Now as we know there is some dead space in the window, so I put the text labels just below the ornate border.

This is working just fine when I target a monster, but when I target an PC or NPC the game resizes the window so my % values fall just below the window.

I've attached screenshots and XML for my target window.

Now what I need is a way to prevent the game from resizing the window, so my % labels don't get hidden.

Quib 02-17-2005 10:32 PM

Maybe adding OnHide="Parent.Parent.Size=x,x" to all the graphic elements of the window to force the size you want? So any time one of the fancy borders goes away, it forces a new window size.

Personally, I'm just sticking with the v0 section of the window and staying with the up arrows.

Quib

Deathbane27 02-17-2005 10:34 PM

Try removing the AutoSize="true" from all of them.

Edit: Or set MinimumSize and MaximumSize to the same as the Size on the window or v1 page.

ReilenBlaeyze 02-18-2005 12:00 AM

Thanks, setting MinimumSize="0,75" worked.

ReilenBlaeyze 02-18-2005 12:12 AM

I also uploaded it for others to enjoy (pending approval of course)

Wyynd 02-18-2005 12:23 PM

I noticed this problem last night as well, and I just made the size of the name text object to be like 75pixels tall, and made sure the text wasn't vertically centered (default or top aligned was enough to make sure the name position didn't change). that solved the problem for me. the minimum size attribute sounds like a better/cleaner solution though.... I'll go back and do taht :cool:


All times are GMT -5. The time now is 11:50 PM.

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