1

I am designing a winform based Desktop application in C#. The application runs really fine in Windows 7. However when I install in the client system running Windows XP, the application looks very different in terms of look.

I have used Pixel units for each of the controls in the design and expected to look the same both in XP and Windows 7.

I tried changing the System Resolution with no success.

To give you an example, the label field was overlapping the Combo field.

enter image description here

Apart from this, there are number of control where such overlap has happened. Any idea, what could have gone wrong ?

Thanks

Kiran
  • 8,034
  • 36
  • 110
  • 176

1 Answers1

4

Your XP machine may be using Large Fonts or Extra Large Fonts.

Right-click an open part of the Desktop, click "Properties", select the "Appearance" tab, and you'll see a "Font Size" combo box. If it isn't set to "Normal", change it to "Normal" and reboot.

Igby Largeman
  • 16,495
  • 3
  • 60
  • 86
  • 1
    Your taking away accessibility. IMO this isn't a solution, recommend OP does something more like this: http://stackoverflow.com/a/9373703/495455 – Jeremy Thompson Jan 16 '13 at 05:47
  • True, it's more of a diagnosis attempt than a solution. Large Fonts may not even be the cause, so figuring that out is the first step. – Igby Largeman Jan 16 '13 at 21:59