Multi-row toolbar?

Is there a way to have a multiple row toolbar in the Unity GUI? I know the obvious solution would be to use a grid, but I don’t want the GUI element to be a square (I want it to be something like 5 columns and 3 rows). Thanks

Something like this:

    GUILayout.BeginVertical("Box");
    
    GUILayout.BeginHorisontal("Box");
    //Here your code for first row
    GUILayout.EndHorisontal();
    
    GUILayout.BeginHorisontal("Box");
    //Here your code for second row
    GUILayout.EndHorisontal();
    
    GUILayout.EndVertical();

You also can use it like:

GUILayout.BeginVertical("Box");

for (int row = 0; i < 5; i++)
{
   GUILayout.BeginHorisontal("Box");

   for (int n = 0; n < 10; n++)
   {
       if (GUILayout.Button("["+n+","+row+"]"))
           DoSomething(n, row);
   }

   GUILayout.EndHorisontal();
}

GUILayout.EndVertical();