How to make program suitable for multi-resolutions?

  • Thread starter Thread starter Brian Basquille
  • Start date Start date
B

Brian Basquille

Hello all..

One thing that really irritates me is that i work at home on projects on my
laptop (which has resolution of 1280 x 800) but if i bring some of my
projects into college to work on PC's there (with a fixed resolution of 800
x 600).... i get presented with an Air Hockey game with the dimensions all
off, controls skewed and going off the screen etc.

Any suggestions on how to make my programs suitable for multi-resolutions...

Thanks in advance.

Brian
 
You have to take into account the dimensions of a given resolution and
make your form items scale proportionally. If you have a text box thats
300x300 at 800x600 res then at 1024x768 you would make the box 128%
larger and so forth. This way, when maximized the location and size of
your form elements scale to the users view state.

Defining fixed size elements is a bad idea when you need to change
resolutions around.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top