mattlawer/BButton

BButton and autolayout

jamiebullock opened this issue · 1 comments

BButton doesn't seem to work correctly when using auto layout.

Below are the button as laid out in Interface Builder and the resulting BButton instance in my app. As you can see the button is hugging the dimensions of the button label instead of using the correct dimensions.

Screen Shot 2013-03-27 at 17 05 22

Screen Shot 2013-03-27 at 17 08 51

OK, there's nothing wrong with BButton, just my lack of understanding of autolayout. Basically, to make the buttons a fixed size, select the button in Interface builder and then Editor -> Pin Width Editor -> Pin Height