.Net controls resizing between computers

I have a strange problem that I need to solve, how to solve,

I spent the last couple of weeks working on a project to work on my laptop, but when I open the program on one of the works, many of the controls are of the wrong size and circle, etc.,

The differences between the machines are as follows:

Laptop:

Windows 7 Pro Display - 1920 * 1040; Visiual Studio 2008; .net framework 3.5

Desktop:

windows xp pro; display: 1024 * 768; visual studio 2008; .net framework 3.5;

to better describe the problem, I have a panel that is 300 pixels in size, with a label inside the day and day in mm-DD-yyyy format using arial and size 8 font.

Everything fits perfectly on the laptop, but on the desktop the panel seems smaller and only half of the text is displayed on the label.

This is just one of many problems, the other with the color.control system, it seems to be a completely different color between the systems (althoug, I suppose this is a win7 vs xp problem)

What can I do to fix this? Is this a problem with the Windows version? (I have xp on a vmware machine on my laptop, so I could code and design in this)

Is this a display problem? - for me this is a big problem, since I only have 1 laptop, and I think that this problem could lead to the loss of my recent Uni job (I was encoded on a laptop and never opened on a desktop computer until today - and so had no idea this problem)

EDIT: , , 125% dpi ( , ..), reset 100% 96Dpi, , , , , 96 , , . # ++ QT.

+5
3

. , .

, , . AutoScaleMode , . , , . Dock, Anchor, TableLayoutPanel, FlowLayoutPanel, Resize . , Font ( "" )

+11

, Visual Studio, . , , , TableLayoutPanel Panel.

+2

Change the AutoScaleMode setting .

+1
source

All Articles