VGUI Button: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
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

Template:Otherlang2

Stub

This article or section is a stub. You can help by expanding it.

Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

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