EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-16-2006, 06:23 PM
Nitefang Nitefang is offline
A Griffon
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 124
Default 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.
Reply With Quote
  #2  
Unread 12-16-2006, 06:43 PM
mortis42's Avatar
mortis42 mortis42 is offline
A Mist Grinnin
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Antonia Bayle
Posts: 76
Default

Did you compensate for the IconPadding in the IconBank when setting the window size?
__________________
Thist
Reply With Quote
  #3  
Unread 12-16-2006, 08:09 PM
Nitefang Nitefang is offline
A Griffon
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 124
Default

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"

Last edited by Nitefang : 12-16-2006 at 08:56 PM.
Reply With Quote
  #4  
Unread 12-16-2006, 08:57 PM
mortis42's Avatar
mortis42 mortis42 is offline
A Mist Grinnin
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Antonia Bayle
Posts: 76
Default

Quote:
Originally Posted by Nitefang
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
I got slightly different numbers than you:
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"
__________________
Thist
Reply With Quote
  #5  
Unread 12-16-2006, 08:57 PM
Arremis Arremis is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 108
Default

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
Reply With Quote
  #6  
Unread 12-16-2006, 09:03 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

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
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #7  
Unread 12-17-2006, 12:27 AM
Nitefang Nitefang is offline
A Griffon
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 124
Default 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
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 03:54 AM.


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