Thread: kgPanels Help
View Single Post
02-19-10, 09:48 AM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Set your panel's parent and anchor to DominosClassBar. Set anchor to and from to CENTER.

Under height, put the height you want for your panel (height doesn't change with the class bar, only width). If the class bar was 100 x 40, for example, and you want an offset of 5 on each side for your panel... Your height would be 50 (40+5+5).

Since the width is what changes on your bar, this is what you need to be more creative about. A lot of people don't realize that kgPanels takes percentages for dimensions. I *think* that it even still does math on those percentages. So... Under width put "100% + 10" (without the quotes). If kgPanels happens to not want to do the math, then try something like 110%.


In short, scripts aren't always the answer.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote