Generalized button bars to hold a specified number of rows of buttons