Garry's Mod Wiki

DIconLayout:SetSpaceX

  DIconLayout:SetSpaceX( number xSpacing )

Description

Sets the horizontal (x) spacing between children within the DIconLayout. You must call DIconLayout:Layout in order for the changes to take effect.

Arguments

1 number xSpacing
The width of the gap between child objects.