user3106114
user3106114

Reputation: 183

alignment is not getting proper in different resolution

i am working on visual studio 2010.
i created my master form windows state is Maximized my system resolution is 1366X768 ,,in one button click i am calling 5 forms together into my master form.. but in my system everything getting correct..

enter image description here

but i installed the same application in my client system,,that system resolution is 1024X768 but here my alignment is not getting proper..now my image is getting like this:enter image description here

so how i can fit my windows form application in all resolution,,if any one know please help me to find out

Upvotes: 0

Views: 1304

Answers (1)

Kevin
Kevin

Reputation: 2631

You basically have two options:

1) Follow Microsoft's instruction on implementing auotscaling for Windows forms applications. (See http://msdn.microsoft.com/en-us/library/ms229605(v=vs.110).aspx)

2) Write your own code to scale the form based on resolution.

============================

Other factors to keep in mind.

  • If you app is translatable that can affect scaling
  • A user changing the Windows default font size can have the same affect.

Hope this helps.

Upvotes: 1

Related Questions