Panel.SetWide

From GMod Wiki

(Redirected from DTextEntry.SetWide)
Jump to: navigation, search
Function
Syntax Panel:SetWide( Integer width )
Description:
Sets the width of the panel
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.SetWide]Panel.SetWide [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionCreate a button, and set it's width to 100, and the height to 50.
Used onNewerClient.png
Code
Button = vgui.Create("Button")
Button:SetWide(100) // set the width to 100
Button:SetTall(50) // set the height to 50
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox