VGUI: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
{ | { | ||
"inset" "0 0 0 0" // margin | "inset" "0 0 0 0" // margin | ||
Left // the | Left // the side | ||
{ | { | ||
"1" // a border can have more then 1 line. | "1" // a border can have more then 1 line. |
Revision as of 22:34, 16 April 2017
VGUI
Borders
DebugBorder2 { "inset" "0 0 0 0" // margin Left // the side { "1" // a border can have more then 1 line. { "color" "0 255 0 255" // color of the border "offset" "2 1" // start and end offset. skip the first 2 pixels and skip the last 1 pixel } } Right { "1" { "color" "0 255 0 255" "offset" "1 0" } } Top { "1" { "color" "0 255 0 255" "offset" "0 0" } } Bottom { "1" { "color" "0 255 0 255" "offset" "0 0" } } }