DColorPalette/SetButtonSize

From Garry's Mod
Jump to: navigation, search
 DColorPalette:SetButtonSize( )

DescriptionPanelFunc

Sets the size of each palette button.

This is best kept to such a number, where this equation would return a whole number:
WidthOfColorPalette/ButtonSize=WholeNumber

If not, there will be ugly whitespace on the right side of the panel.

Arguments

number size

Sets the new size
Personal tools
Navigation