![]() |
Target Window resizing - again
Hey all - hoping someone can help me unravel a pesky problem that I had solved once upon a time. I've been searching the forums, but cant seem find the post that helped me fix it before and none of my lil tricks seem to work.
whenever I target a mob with a spell effect on it - the target window grows vertically about 10 pixels to accomodate the icon... there is plenty of room in the window without the resizing - but it still does it. I've locked the size of every element in the window using min/max size entries, and made my v1 page totally identical to my v0 page... even tried and OnHover script to restore the normal size but it just pops right back out. I'm sure I'm overlooking something - but cant figure it out. any insight is most appreciated. |
Did you compensate for the IconPadding in the IconBank when setting the window size?
|
unless my math is off... (which it could be lol)
icon size =12 padding =1 wanting 2 rows of 15 icons each, so using 14 pix as my size... 14x15 = 210 horizontal 14x2 = 28 vertical so I sized the window 212x30 pix - should be enough unless I'm not understanding something.... thanks for the reply :) Edit: found the post I mentioned earlier - inserted this code and it seems to be helping - not fully tested - but it looks promising (thanks to Landin for the original post) OnHoverOut="Maximamsize=Size Minimamsize=Size" OnHoverIn="Maximamsize=2048,2048 Minimamsize=0,0" |
Quote:
12*15+16px=196px (15 icons at 12px each, 1px padding between each, plus 2px for the beginning and end) and 2*12+3=27px So the IconBank would need to be 196x27px. I used OnShow and OnHide in the IconBank to make the window resize when there are no buffs. Code:
OnHide="Parent.MaximumSize=172,96" OnShow="Parent.MaximumSize=172,160" |
This thread might help.
Target Effects The same thing applies to the what is now the Icon Bank instead of the Volume. When I updated my Arre29Targets, I found there's no difference in applying this technique. Hope it helps :) |
Well I got fixes sizes for both target and implied target inc the effects page on both.. with space for the 30 icons on both ... but whilst raiding last week and all the defuffs etc placed on the mob, the icon page exceeded 30 icons an then then just expanded itself down to make another row... so by the looks fix it all you want and it will override the settings anyway.. at the count there was about 38 effects on the mob roughly .. me being the poor MA I didnt have time to count properly was just a visual guess lol
|
Thanks
you guys are awesome - thanks for all the feedback, when they changed to using the icon bank I wasn't sure if any of the older volume page threads still applied.
I may get this thing done yet :) |
| All times are GMT -5. The time now is 04:38 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI