Garry's Mod Wiki

Revision Difference

DSizeToContents#553502

<panel> <parent>Panel</parent> <realm>Client and Menu</realm> <description> A helper panel that will automatically resize itself to fit all its children using <page>Panel:SizeToChildren</page>. </description> <overrides> <page>Panel:Init</page> <page>Panel:PerformLayout</page> </overrides> </panel>⤶ ⤶ ⤶ # Methods ⤶ * <page>DSizeToContents:SetSizeX</page>⤶ * <page>DSizeToContents:GetSizeX</page>⤶ * <page>DSizeToContents:SetSizeY</page>⤶ * <page>DSizeToContents:GetSizeY</page></panel>