layout on screen keeps changing.. Arg

  • Thread starter Thread starter Stacey
  • Start date Start date
S

Stacey

I have an application that has been designed for 600x800. The app is non
sizeable, yet when I run it on certain machines, the layout is changed. For
instance. I have a picture box that in design mode and when I run it on my
machine has a height of 175 and width of 190. When it runs on my client the
height stays 175 but the width is 260. This is driving me crazy. Any ideas?
Anything at all?



Stacey
 
I have an application that has been designed for 600x800. The app is non
sizeable, yet when I run it on certain machines, the layout is changed.
For instance. I have a picture box that in design mode and when I run it
on my machine has a height of 175 and width of 190. When it runs on my
client the height stays 175 but the width is 260. This is driving me
crazy. Any ideas? Anything at all?

There are a bunch of odd things that can do this - maybe????

Look at Anchor, Dock, Max..., Min..., and GetPreferredSize.

Also I hear there are supposed to be some AutoSize property but it isn't
supposed to work.
 
Hi Stacey,

Thanks for your posting!
Did the problem occur with other UI on the winform?
e.g. the Font changed, or other button changed?

You may try to check the if the Screen Resolution setting is changed.
1. right click on the desktop
2. Click Properties
3. Check Setting to see if the resolution is same on the different machines
4. Click Advanced,
5. Click General
6. Check DPI setting to see if it is same on the different machines

Also what is your machine environment?
e.g. What is the OS version, .NET framework version?

Also I think you may try to make a test program with just an picturebox to
see if the problem reproduce.

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top