Set the number of page tabs per row

Not a critical issue, but would format nicely if I could set the number of page tabs per row.
In the attached I have 13 page tabs in line 1 and 5 page tabs in line 2.

It would look better if I could specify the max # of lines in each row, so that the two rows look balanced.

Anyone now how?

Lewis