Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I have created a win app which runs in my monitor with no problem. But when the program installed in a computer with 1920x1080 resolution, the forms height is cut off and the "ok", "Cancel" buttons are not showing.

Any help will be appreciated.

Regards,
Biswajit Ghosh
Posted
Comments
jerrykid 17-Jan-11 5:21am    
Are OK and Cancel button will be shown if you change screen resolution?
Toli Cuturicu 17-Jan-11 5:26am    
Make the Form smaller. :-)

This question has been asked and answered so many times over the years.

Your best source for a solution is a search engine.

Using c# resolution independent forms found half a million results.

This[^], is just one of them.
 
Share this answer
 
Comments
JF2015 17-Jan-11 6:12am    
Good answer!
If the link Henry supplied makes your form look weird (and it just might because of the nature of floating point calculations when changing the font size based on a calculated ratio), you're going to have to change the font size on all of your forms.

BTW, what font (and size) are you using, and how big is your screen? If your font size if 8-10 point, and your form spills off the edge of your screen, maybe you should refactor your form so that it has fewer controls on it (consider using a TabControl).
 
Share this answer
 

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