Revision Difference
DColorPalette:SetButtonSize#550050
<function name="SetButtonSize" parent="DColorPalette" type="panelfunc">
<ispanel>yes</ispanel>
<description>
Sets the size of each palette button.
This is best kept to such a number, where this equation would return a whole number:<br/>
`WidthOfColorPalette / ButtonSize= WholeNumber`
If not, there will be ugly whitespace on the right side of the panel.
</description>
<realm>Client</realm>⤶
<realm>Client and Menu</realm>⤶
<args>
<arg name="size" type="number">Sets the new size</arg>
</args>
</function>