Garry's Mod Wiki

Revision Difference

DSizeToContents#517117

<panel> <parent>Panel</parent> <description>A helper panel that will automatically resize itself to fit all its children using <page>Panel:SizeToChildren</page>.</description> </panel> # Methods * {{VGUIElementMethodInternal|SetSizeX}}⤶ * {{VGUIElementMethodInternal|GetSizeX}}⤶ * {{VGUIElementMethodInternal|SetSizeY}}⤶ * {{VGUIElementMethodInternal|GetSizeY}}* <page>SetSizeX</page>⤶ * <page>GetSizeX</page>⤶ * <page>SetSizeY</page>⤶ * <page>GetSizeY</page>