Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi

i ahve one from with differnt control but when i open my form in the laptop the Control which are at the bottom are not visible.
Posted
Comments
johannesnestler 20-Feb-14 9:35am    
Yea, very good explaination of your problem. But If I should guess, I'd say you have a different dpi-Setting on your Laptop or just a fixed layout and a too small resolution. But because I can't see your screen or read your mind, this is all help I can offer. Maybe explain better what you did?
rahuls1 20-Feb-14 9:40am    
how to resolve this issue in different scren resolution..
BillWoodruff 20-Feb-14 20:35pm    
You have posted many questions here, and I would like to see you take responsibility, and indicate your respect for the people who are here trying to help other programmers, by taking the time to clearly Tag your questions.'

It takes just a few seconds of your time to choose a few Tags. A few minutes at most to make posts have the details necessary so people can assist you rapidly.

It depends on your application type or UI framework/library you are using. You need to tag such important things in your question when UI is involved. So, sorry, my answer will be pretty general.

You should make you layout fluid and avoid any absolute size and positions. Any at all. For example, with System.Windows.Forms everything can be done using the properties Dock and Padding, and with frameworks based on XAML (as in case of WPF), you can use Grid (which is more flexible in most cases) and/or DockPanel.

Please see my past answers:
Zom Out malfunctions when Screen resolution changes[^],
how to dock button so that it can adjust with the form[^].

Also, what you are talking about is not the screen resolution. It is the size of screen in pixels. Resolution is something different (lines per inch or mm, pixels per inch or mm, etc.) and is almost irrelevant.

—SA
 
Share this answer
 
You have not specified the framework you're using.
So if you're dealing with WPF (XAML)
Grid and Container are widely used to create UI, See WPF Tutorial : Layout-Panels-Containers & Layout Transformation[^]
And if it is form application, you just have to play around with the Dock, Padding, Margin properties of the control.

-KR
 
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