View Single Post
03-14-11, 08:47 PM   #307
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by Clynikal View Post
As a result LitePanel doesn't show up on my UI and I have no idea to how fix this [I'm also pretty new to LUA :C].
Code:
lpanels:CreateLayout("LiteStats", {
{   name = "BlackBar", 
    anchor_to = "BOTTOM", y_off = 20,
    width = "100%", height = 30,
    bg_color = "0 0 0", bg_alpha = 0.5,
}, -- this is line 291

{   name = "BorderTop", parent = "BlackBar",
    anchor_to = "TOP", 
    width = "100%", height = 1,
    bg_color = "CLASS", bg_alpha = 0.75,
},
{   name = "BorderBottom", parent = "BlackBar",
    anchor_to = "BOTTOM", 
    width = "100%", height = 1,
    bg_color = "CLASS", bg_alpha = 0.75,
},
}, { bottom = 150, top = 10 });
lpanels:ApplyLayout("n:nil r:nil", "LiteStats", "AnotherLayout")
fix'd!
  Reply With Quote