Defines number of items in palette row.
Use this method to define the number of items in row. In this way you can control the palette width.