Materials Window empty boxes

Is there a way to reduce or remove the empty boxes from the Materials Window menu? there are so many boxes on my menu that it takes up too much screen real estate.

Put your mouse cursor over the thin line between the tiles and the main color panel until you see the cursor chage to a bar with up and down arrows. Click and drag the line to change the number of rows in the tiles. (The circle around the cursor is from my screen capture app, it won’t be on your screen).



Thank you! You changed my life!