View Single Post
10-01-10, 09:13 AM   #265
iTigah
A Deviate Faerie Dragon
Join Date: Mar 2010
Posts: 10
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.

Last edited by iTigah : 10-01-10 at 09:16 AM. Reason: Grammar!
  Reply With Quote