Panel.SizeToContents
From GMod Wiki
(Redirected from DPanelList.SizeToContents)
| Function | |
| Syntax | Panel:SizeToContents( ) |
| Description: | |
| Resizes the panel so that it's width and height fit all of the child controls inside. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.SizeToContents]Panel.SizeToContents [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples