开发者

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 ori开发者_运维技巧ginal 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜