Code:
{ name = "game menu",
anchor_to = "CENTER",
y_off = -435,
x_off = -270,
width = "50",
height = "26",
bg_color = {0.40,0.40,0.40},
bg_alpha = 0.1,
strata = "HIGH",
border = "dbA",
border_color = "0.25 0.25 0.25",
border_size = 12,
border_alpha = 1,
inset = 2,
OnClick = function(self, button)
if button == "LeftButton" then
BankStack.SortBags()
end
end,
text = {
{ string = "Menu",
anchor_to = "CENTER",
y_off = 0,
shadow=1,
font = "Interface\\AddOns\\LitePanels\\media\\font.ttf",
size=20,
color = "0.25 0.25 0.25"
},
},
},
just an example :P