Options for configuring the palette grid can be found on the Appearance tab in the Options dialogue. The grid can either be of a fixed size, or variable based on column count.
To have the size of the swatches in the colour grid size themselves to fit a given number of columns
To manually set the size of the swatches in the colour grid: