Revision Difference
DColorPalette:SetButtonSize#524886
<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⤶
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>
<args>
<arg name="size" type="number">Sets the new size</arg>
</args>
</function>