View Single Post
10-31-12, 10:00 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yes. If the panel is parented to the bar, and positioned relative to the bar, its visibility and position will automatically change with the bar's visibility and position.

As for combat, you would have to make the bars appear when entering combat, and remain visible until you left combat... or keep them hidden during combat.

An alternative would be to use a fade-in effect rather than a slide-in effect. Fading only requires changing the opacity, not the position, so it can be done in combat without restrictions.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote