Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIButton resizes when I change font?

I have several UIButtons, I'm trying to bulk change the font for all of them in InterfaceBuilder, but when I change the font, they auto-resize to the original image dimensions instead of what I had them set to, screwing up the layout. I would like to avoid having to resize and move everything around again any time I change the font. I could just set the font in a loop in code, but it seems redundant.

Is there a setting to stop this from happening?

like image 848
owook Avatar asked Oct 11 '10 15:10

owook


1 Answers

This issue doesn't seem to occur in Xcode 4.0 or above.

Should anyone still be using a lesser version of Xcode I would suggest updating.

like image 196
Wex Avatar answered Oct 24 '22 20:10

Wex