Hi,

I have visual c# winform project. Several forms with controls, etc. all standard. The weird thing is that on one of the machines where I tested the app the alignment is off. I noticed this because of some images with fixed pixel width and heights did not fit well. After writing panel sizes etc to the console indeed it turns out that the width and heights do not match at all with the values set in the properties panel. Sizes are about 25% bigger.

When I set the sizes through code all fits well.

Anyone has an idea what causes this? Is there anything I can do to prevent this from happening (apart from hardcoding all control width and heights etc.)

Thanks!