Normally (Auto Grid Adjustment off) there is a setting in the driver that decides how many rows and columns the Patches are divided into. The Patch Manager tries to organise Patches as sensibly as possible, depending on how many they are and how they are organised in the actual device.
If you activate Auto Grid Adjustment, on the pop-up Functions menu, the number of rows and columns are instead adjusted after the size of the window. In this "mode", even if you resize the window you will always see all columns (but perhaps not all rows).