c# - Form is zoomed in on some computers -
some people use program have zoomed in form. has todo .net version have or what's problem. don't have same screen resolution.
this seems result of dpi awareness (available since windows vista).
the right thing make app "fluid" , format bigger content.
the easy way out disable dpi awareness. app still bigger, scaled whole instead of having every independent component scale itself.
you can adding following in app.manifest file:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > ... <asmv3:application> <asmv3:windowssettings xmlns="http://schemas.microsoft.com/smi/2005/windowssettings"> <dpiaware>false</dpiaware> </asmv3:windowssettings> </asmv3:application> ... </assembly>
Comments
Post a Comment