problem with xtray evar Thread last updated on 2006-04-14 21:56:41

Posted by member 318803 on 2006-04-13 20:37:57

gday
yeah im making a theme at the moment and i have x tray installed and it is running down in the bottom corner and i also have a label down the bottom which displays winamp information

so im trying to make the label size dependant on the tray size

amp2Width "$resolutionx-(resolutionx/3)-400$"

that is the current width because of other bars i have down there

and i want to use %#xtraycurrentwidth%# and take it away at the end so that the bar will change its size for the tray but i cant seem to get it to work

help?
thanks

Posted by member 1949 on 2006-04-13 21:32:34 link

Fire the bar resizing from xtray
xTrayOnAdd ACTION
xTrayOnRemove ACTION

Posted by member 248213 on 2006-04-14 21:56:41 link

xTrayOnResize always worked best for me.

Youll need to use !ParseEvars for that %# variable also, so something like:

xTrayOnResize !ParseEvars !LabelResize Winamp %#resolutionX-xTrayCurrentWidth%#