Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
5.00/5 (3 votes)
Hi all,
I have a WinForm project in C# .NET 3.5. The UI looks perfect on 96 DPI resolution but clips text and/or overlaps some controls if the resolution is 120 DPI bcz its making all controls 25% bigger than 96 DPI.
Using AutoScaleMode is not helping.
The new requirement for our project is to fit UI for 120 DPI resolution or both 120 & 96 dpi if possible.
Is there a way by which all UIs can be fixed in one shot?
If not what is the best work around for such problem?
Any help would be highly appreciated.
Posted
Updated 16-Nov-10 2:36am
v2

1 solution

The solution in my case is AutoScaleMode = DPI, and compile all the assemblies in 96 DPI resolution.
 
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