Garry's Mod Wiki

DIconLayout:SetBorder

  DIconLayout:SetBorder( number width )

Description

Sets the internal border (padding) within the DIconLayout. This will not change its size, only the positioning of children. You must call DIconLayout:Layout in order for the changes to take effect.

Arguments

1 number width
The border (padding) inside the DIconLayout.