View Single Post
06-20-10, 01:30 PM   #209
Dokee
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2010
Posts: 19
Originally Posted by zynix View Post
Fixed it

Code:
lpanels:CreateLayout("TestCake", {
{	name = "BlackBar",
	anchor_to = "BOTTOM",
	y_off = 20,
	width = "100%",
	height = 50,
	bg_color = "0 0 0",
	bg_alpha = 0.5,
}, 
})lpanels:ApplyLayout(nil, "TestCake")
You missed a { } around "all" your panels
didnt get the viewport thing to work though :P
Ah, cheers. Thanks for the help though I dropped that and just started messing about and I finally got the hang of it now. Really loving this addon!
(My new UI is starting to look good!)

Just one quick question though. How easy is oUF scripting compared to this? With a premade layout to work from.
  Reply With Quote