image button problem Version R2 2.1.1 b1-build 311

I have downloaded the latest beta Version R2 2.1.1 b1-build 311 and installed in my computer. I tried open my existing solution in it. After that I saw the image buttons are screwed up.

Please see the attachements for how the buttons look in both the versions.

In the v2.1.b1 layout mode I could not resize the button object to the size of the image in that button. The image in the button is pushed inside the button so that I can only see partial image in the button. I have also tried media option to crop.

Please check,

Thanks a lot.

Servoy Developer
Version R2 2.1.1 b1-build 311
Java version 1.4.2_04-b05 (Windows 2000)

Are you sure there is no margin specified in the property or in the style if you are using one? (one of the enhances we did was better cascading in the styles for example)

Yes you are right. I had the set the margin to Default. Now I set it to 0,0,0,0 and it looks fine. I thought this was a bug because the buttons were showing properly in the previous version.

Anyway it is fixed now.

Thanks
Hameed