Technically you can have as many buttons as you want as long as you have screen space. To stack even more buttons, you can play with button spacing value and the font size (if you use labels). The row will get cut off if it reaches edge of the screen. I might add a "Wrap" feature too, something like: if the buttons reach the edge of the screen, start a new row underneath.