Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have developed an application on a windows 7 machine in VS 2010 pro, with .NET 4.0. It looks good on my machine. But when I run the application on a Windows XP machine the GUI is changed: Some labels are beneath the window (to low and the user has to resize the window to see them, images on buttons are to big etc).

Is there anyway I can prevent this? In other words: How can I make sure the user (i.e. Windows XP) sees the same as I do?

Thanks in advance!
Posted

1 solution

there should be a property on the form itself, like a 'scalemode' or 'scale' set that to inherit so it inherits from the window its in..
otherwise you can set the controls' to have width=100% etc or move them around dynamically - scale is your best bet tho..
 
Share this answer
 
Comments
Sandeep Mewara 15-Oct-10 7:59am    
Comment from OP:
Damn! Why is it always THAT simple!

Many, many thanks!!!!
[no name] 15-Oct-10 8:37am    
no problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900