My work computer has just been upgraded from Windows 7 to Windows 8. To my absolute horror, my large scale WPF Application looks different in several ways... by different, I mean worse, uglier, controls not lined up correctly, etc. In summary, it seems as though the main differences relate to different `Padding` and `Margin` values on `TextBox` and other controls. Whereas all of my controls neatly lined up on Windows 7, now the text in the controls is all over the place. Here is a list of changes that I noted (from just one view):
- Wrong title bar including buttons (Minimise, Close, etc.)
- Wrong size Font in title bar
- Icon (or text) misaligned in title bar
- Icon in title bar is very blurry
- Wrong Padding and/or Margin settings spacing out items on left
- Wrong Padding and/or Margin settings reducing Textbox Heights on right
- 'Hidden' default selection colour on items on left no longer hidden
- Back to front Checkbox tick
- Images on some Buttons are very blurry
I'm really hoping that there is a property that I can set that will enable my application to render as it would in Windows 7. Please note that I have tried a number of fixes that basically set the computer Theme to a certain Theme, but none of them worked... the Theme changed, but the messed up UI controls didn't.
So, my question is this:
What can I do to have my WPF Application rendered on Windows 8 to look the same as it did on Windows 7?
I'm really hoping that the answer is not that I have to manually re-style every control in my Application, because it is huge and there are hundreds of Styles. Please see the Why do WPF Applications look different between Windows 7 and Windows 8 and can this be fixed? page on StackOveflow for images and a full description of the problem.