I'm trying to put panels around the health and mana bars on my unit frames. I'm using Pitbull4 and I can successfully get the panels to anchor to the Player frame, but for some reason I can't get it to work for any of the other frames. I don't know exactly what I'm doing wrong. This is the code that I'm using:
Code:
-- Target Unit Frame Health Bar
{ name = "TargetH0", parent = "PitBull4_BetterStatusBar_5",
strata = "BACKGROUND",
width = "100%", height = "100%",
inset = -3,
bg_color = "0 0 0",
},
{ name = "TargetH1", parent = "TargetH0",
width = "100%", height = "100%",
inset = -2,
bg_color = "0.3 0.3 0.3",
},
{ name = "TargetH2", parent = "TargetH1",
width = "100%", height = "100%",
inset = -1,
bg_color = "0.1 0.1 0.1",
},
-- Target Unit Frame Mana Bar
{ name = "TargetM0", parent = "PitBull4_BetterStatusBar_6",
strata = "BACKGROUND",
width = "100%", height = "100%",
inset = -3,
bg_color = "0 0 0",
},
{ name = "TargetM1", parent = "TargetM0",
width = "100%", height = "100%",
inset = -2,
bg_color = "0.3 0.3 0.3",
},
{ name = "TargetM2", parent = "TargetM1",
width = "100%", height = "100%",
inset = -1,
bg_color = "0.1 0.1 0.1",
},