Reputation: 1151
Creating an application using C# 3.0. In my desktop system the application form layout is perfect. But the same application opens in my laptop, the form layout alignment is different.
How do i solve this problem.?
Upvotes: 1
Views: 361
Reputation: 1115
Are you using something like the FlowLayoutPanel? It will change the layout of it's children dynamically based on the real estate that it is given.
Upvotes: 0
Reputation: 16368
Probably different dpi settings on your laptop than from your desktop. To prevent the form from looking strange at different settings, you might want to consider using a TableLayoutPanel. Using the auto-sizing capabilities will help keep things looking 'normal' at any dpi setting.
Here is a decent blog post on using the TableLayoutPanel.
Upvotes: 2