add the delegate method to set the size of buttons