Advertisement
Guest User

Katae

a guest
Nov 26th, 2009
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1. lpanels:CreateLayout("Test", {
  2.     -- Your original black bar panel
  3.     {   name = "BlackBar",
  4.         anchor_to = "top", y_off = 0,
  5.         width = "100%", height = 22,
  6.         bg_color = "0 0 0", bg_alpha = 0.4,
  7.     },
  8.  
  9.     -- Your new 1 pixel borders, first on the top, second on the bottom of BlackBar
  10.     {   name = "BorderBottom",
  11.         anchor_to = "BOTTOM",
  12.         width = "100%", height = 1,
  13.         bg_color = "CLASS", bg_alpha = 0.75,
  14.     }
  15. })
  16. lpanels:ApplyLayout(nil, "Test")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement