By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,641 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,641 IT Pros & Developers. It's quick & easy.

layout on screen keeps changing.. Arg

P: n/a
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
Mar 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Stacey" <St*****@community.nospam> wrote in message
news:ei**************@TK2MSFTNGP14.phx.gbl...
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.

Mar 27 '06 #2

P: n/a
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.

Mar 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.