Yo, i seem to have some problems with LitePanels.
This code doesn't do anything, did i do anything wrong?
Code:
lpanels:CreateLayout("Bottom bar", {
{ name = "BlackBar",
anchor_to = "BOTTOM",
y_off = 20,
width = "100%",
height = 30,
bg_color = "0 0 0",
bg_alpha = 0,5,
},
{ name = "BlackBarTopBorder", parent = "BlackBar",
anchor_to = "TOP", y_off = 1,
width = "100%", height = 1,
bg_color = "CLASS", bg_alpha = 1
}
})
lpanels:ApplyLayout("n:zendrear r:earthenring", "BlackBar", "BlackBarTopBorder")
And, is there a way to color a panel to be a color if in combat, and another color if out of combat?
Cheers.