473,396 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

layout on screen keeps changing.. Arg

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
2 949

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
44
by: lime | last post by:
I've been using CSS for a while, however always using tables for the layout. This is my first go using a CSS only layout. After many versions (about 7 of them) this is the final version that I...
3
by: June Moore | last post by:
Hi all, Is there a way to use javascript to change a web page's default layout e.g. change page orientation to landscape or portrait when the user prints a copy of the webpage? Thanks, June..
2
by: Jerry Camel | last post by:
I'm using Grid Layout basically because it was the default, but I've got the whole page designed and changing to Flow layout would be a royal pain, I think... But now, I find I need to position a...
1
by: Tina | last post by:
In order to constrain the screen real-estate a datagrid takes, I use an HTML Grid Layout Control with scrollbars. One problem, however is that the datagrid changes horizontal size depending on...
20
by: Alan Silver | last post by:
Hello, In classic ASP, I used to use two include files on each page, one before and one after the main content, to provide a consistent layout across a web site. That way I could just change the...
5
by: Stephen Poley | last post by:
There are plenty of people around these groups who promote the idea of flexible page design. However, while employing relative units and not fixing column-widths is a big improvement on...
14
by: Anoop | last post by:
Hi, I am new to this newsgroup and need help in the following questions. 1. I am workin' on a GUI application. Does C# provides Layout Managers the way Java does to design GUI? I know that it...
4
basstradamus
by: basstradamus | last post by:
Hi After few hours of searching the web and brainstorming I did not solve my problem. The problem... I want to create two column full screen layout (with header and footer) where left column has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.