DFrame.SetSizable

From GMod Wiki

Jump to: navigation, search
Function
Syntax DFrame:SetSizable( Boolean size )
Description:
Enables whether or not the frame can be sized.
Returns: nil
In Object: DFrame
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DFrame.SetSizable]DFrame.SetSizable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionCreate a frame. Enable the sizing.
Used onNewerClient.png
Code
 
myParent = vgui.Create("DFrame")
myParent:SetTall(480)
myParent:SetWide(640)
myParent:SetSizable(true)
myParent:Center()
myParent:MakePopup()
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox