View Single Post
10-01-10, 11:52 PM   #267
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by fahads View Post
Long time and no one is same to care
Because you were vague; you gave no details. I'm not psychic.

Originally Posted by iTigah View Post
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, -- not 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", "Bottom bar")
And, is there a way to color a panel to be a color if in combat, and another color if out of combat?
The layout name goes in ApplyLayout, not the names of the panels inside the layout. Also, your bg_alpha there should be 0.5 not 0,5.

Looks like Mugrax helped with the second bit

Originally Posted by Mugrax View Post
edit: disabled tracking, ammo & talent modules & it throws no errors. i have no tracking abilities (herbs, ore) & no use for ammo as a mage. the talent system seems to have changed quite a bit (lvl 83 with 39 talent points) & ammo is unlimited for now.
Thanks for the info

Last edited by Katae : 10-01-10 at 11:59 PM.
  Reply With Quote