Panel.SetTall

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:SetTall( Integer height )
Description:
Sets the height of the panel
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.SetTall]Panel.SetTall [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