Garry's Mod Wiki

Revision Difference

DSizeToContents#549899

<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>⤶ <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>SetSizeX</page>⤶ * <page>GetSizeX</page>⤶ * <page>SetSizeY</page>⤶ * <page>GetSizeY</page>* <page>DSizeToContents:SetSizeX</page>⤶ * <page>DSizeToContents:GetSizeX</page>⤶ * <page>DSizeToContents:SetSizeY</page>⤶ * <page>DSizeToContents:GetSizeY</page>