Difference between revisions of "VGUI Button"

From Valve Developer Community
Jump to: navigation, search
m (otherlang2'd)
m
 
Line 32: Line 32:
  
  
[[Category:VGUI Controls|B]]
+
[[Category:VGUI Controls]]

Latest revision as of 08:40, 30 July 2012

Español



Description

Vgui button.png

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"
	}