Difference between revisions of "VGUI Button"

From Valve Developer Community
Jump to: navigation, search
m
m (otherlang2'd)
Line 1: Line 1:
 +
{{otherlang2
 +
|es=VGUI_Button:es
 +
}}
 
{{stub}}
 
{{stub}}
 
{{cleanup}}
 
{{cleanup}}
Line 28: Line 31:
 
  }
 
  }
  
 
{{otherlang:en}}
 
{{otherlang:en:es|Vgui_button:es}}
 
  
 
[[Category:VGUI Controls|B]]
 
[[Category:VGUI Controls|B]]

Revision as of 00:56, 6 March 2011

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