![]() |
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. |
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 |
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. |
Thanks, setting MinimumSize="0,75" worked.
|
I also uploaded it for others to enjoy (pending approval of course)
|
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