Garry's Mod Wiki

Garry's Mod Wiki

  DColorPalette:SetButtonSize( number size )

Description

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

1 number size
Sets the new size

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...