I'm creating a row of UIButtons with borders, whose titles will be set to different numbers. As it is, the buttons all resize themselves according to the length of the text inside, but I'd like them to all be the same size, a bit larger than is needed to accomodate the text, as this will look better.

I added borders to the buttons using a subclass in which I specify the following: 

```
self.layer.cornerRadius = 5.0;
self.layer.borderColor = UIColor.blackColor().CGColor
self.layer.borderWidth = 1
self.backgroundColor = UIColor.whiteColor()
self.tintColor = UIColor.blackColor()

```

Is there a way I can specify in absolute terms the size of the rectangle that defines the border around the button? I've tried setting self.frame to a CGRect, but this doesn't seem to affect the border at all.