H20rider
H20rider

Reputation: 2282

Winform - Display

I have a c# winform project which is displaying much different on my screen from the server.

On my screen I am getting parts of the forms cut off and some controls in different areas. I have adjusted my resolution both to the same resolution and mine greater then the server. Neither one worked. Also, the fonts and controls look larger on the server despite the same resolution

Any Ideas?

The server build is using VS.net 2008 vs mine 2010. I dont think that should matter.

Upvotes: 4

Views: 1775

Answers (2)

Ed Swangren
Ed Swangren

Reputation: 124692

Sounds like different DPI settings between the machines. I noticed this when I first created a project in Win7 and ran it on a WinXP machine. Here is an SO post describing the issue and how to fix it.

Upvotes: 6

Doc Brown
Doc Brown

Reputation: 20044

Sounds like your server has a different DPI setting than your machine. Developing for different DPI settings with Winforms can be a real pain, since Winforms AutoScaleMode-Feature has some quirks. See, for example this former post of mine:

AutoScaleMode problems with changed default font

Upvotes: 6

Related Questions