Today I noticed a very, very strange behaviour (bug?) in Xcode. I am creating buttons for my iPhone application with a custom image background and a text on top of it. The Interface Builder attributes window looks like this:

Usually I change the font-family and size for my text, but when I do this, the button dimensions suddenly grow pretty big. So I just head over to the Button Size tab and reset the dimension values to the originals, like so:

And here comes the crazyness: as I modify the width/height values, the text inside the button gets slightly blurred!

During my current development I realized that some button texts are not as sharp as others, but I had no idea why. Finally I managed to catch this “bug” by redoing the last few steps before the blur effect occured.

How to overcome this pesky issue? If I resize the button “by hand” in the view editor, the text keeps its sharpness. Odd.