Hey, So I use Lite Panels to make nice panels as the cornerstone of my UI but every since pre-patch the panels have disappeared and I cant seem to get them to show up again. This is the layout I currently use:
Code:
lpanels:CreateLayout("Load For All", {
-- Create a global layout right here
{ name = "GridDataText",
strata = "BACKGROUND", level = 0,
x_off = -1, y_off = 18,
width = 416, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "GridBorderTop",
strata = "BACKGROUND", level = 0,
parent = "GridDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 416, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "GridBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "GridDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 416, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "GridBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "GridDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "GridBorderRight",
strata = "BACKGROUND", level = 0,
parent = "GridDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ChatPanelDataText",
strata = "BACKGROUND", level = 0,
x_off = 416, y_off = 18,
width = 399, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "ChatPanelBorderTop",
strata = "BACKGROUND", level = 0,
parent = "ChatPanelDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 399, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ChatPanelBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "ChatPanelDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 399, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ChatPanelBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "ChatPanelDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1.1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ChatPanelBorderRight",
strata = "BACKGROUND", level = 0,
parent = "ChatPanelDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "BarDataText",
strata = "BACKGROUND", level = 0,
x_off = 816.5, y_off = 18,
width = 425.5, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "BarBorderTop",
strata = "BACKGROUND", level = 0,
parent = "BarDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 425.5, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "BarBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "BarDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 425.5, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "BarBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "BarDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "BarBorderRight",
strata = "BACKGROUND", level = 0,
parent = "BarDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1.1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "MinimapDataText",
strata = "BACKGROUND", level = 0,
x_off = 1243, y_off = 18,
width = 150, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "MinimapBorderTop",
strata = "BACKGROUND", level = 0,
parent = "MinimapDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 150, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "MinimapBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "MinimapDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 150, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "MinimapBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "MinimapDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "MinimapBorderRight",
strata = "BACKGROUND", level = 0,
parent = "MinimapDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "EavesDropDataText",
strata = "BACKGROUND", level = 0,
x_off = 1394, y_off = 18,
width = 247, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "EavesDropBorderTop",
strata = "BACKGROUND", level = 0,
parent = "EavesDropDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 247, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "EavesDropBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "EavesDropDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 247, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "EavesDropBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "EavesDropDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1.1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "EavesDropBorderRight",
strata = "BACKGROUND", level = 0,
parent = "EavesDropDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "DPSDataText",
strata = "BACKGROUND", level = 0,
x_off = 1642, y_off = 18,
width = 194, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "DPSBorderTop",
strata = "BACKGROUND", level = 0,
parent = "DPSDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 194, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "DPSBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "DPSDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 194, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "DPSBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "DPSDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "DPSBorderRight",
strata = "BACKGROUND", level = 0,
parent = "DPSDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ThreatDataText",
strata = "BACKGROUND", level = 0,
x_off = 1837, y_off = 18,
width = 264, height = 149,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "ThreatBorderTop",
strata = "BACKGROUND", level = 0,
parent = "ThreatDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 264, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ThreatBorderBottom",
strata = "BACKGROUND", level = 0,
parent = "ThreatDataText",
anchor_to = "LEFT", anchor_from = "BOTTOMLEFT",
x_off = 0, y_off = 0,
width = 264, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ThreatBorderLeft",
strata = "BACKGROUND", level = 0,
parent = "ThreatDataText",
anchor_to = "LEFT", anchor_from = "LEFT",
x_off = 0, y_off = 0,
width = 1.1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "ThreatBorderRight",
strata = "BACKGROUND", level = 0,
parent = "ThreatDataText",
anchor_to = "RIGHT", anchor_from = "RIGHT",
x_off = 0, y_off = 0,
width = 1, height = 149,
bg_color = "0 0 0", bg_alpha = 5,
},
{ name = "LiteStatsDataText",
strata = "BACKGROUND", level = 0,
x_off = 0, y_off = 0,
width = 2100, height = 16,
bg_color = "0 0 0", bg_alpha = 0.5,
},
{ name = "LiteStatsBorderTop",
strata = "BACKGROUND", level = 0,
parent = "LiteStatsDataText",
anchor_to = "LEFT", anchor_from = "TOPLEFT",
x_off = 0, y_off = 0,
width = 2100, height = 1,
bg_color = "0 0 0", bg_alpha = 5,
},
})