VGUI Button: Difference between revisions
Jump to navigation
Jump to search
Nihilistik (talk | contribs) No edit summary |
Nihilistik (talk | contribs) No edit summary |
||
| Line 24: | Line 24: | ||
"wrap" "0" | "wrap" "0" | ||
} | } | ||
[[Category:VGUI Controls]] | [[Category:VGUI Controls]] | ||
Revision as of 09:31, 13 October 2008
Description
A button can be pressed to perform an action. Buttons in current Source games are usually 24 pixels high, and have an additional ~30 pixels or blank space to the right of any text.
Example & Accepted Values
"Button"
{
"ControlName" "Button"
"fieldName" "Button"
"xpos" "120"
"ypos" "20"
"wide" "82"
"tall" "24"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#Button_Text"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
}
