Share via


How to disable DPI scaling for the Visual Studio Editor?

Question

Wednesday, July 30, 2014 5:16 PM | 1 vote

Hello!

I recently bought a 1440p display hoping for super clear text while I code. However, Windows 8.1 or Visual Studio is "zooming in" and thus making all the text blurry.

Normally, I can go to a program's compatibility settings and "Disable display scaling on high DPI settings." However, Visual Studio 2013 Properties does not have a "Compatibility" tab with this option.

I know that Windows is scaling VS 2013 up because when I drag the window halfway onto my 1080p display, the window shrinks and all text becomes clear, even the part of the window on my 1440p display.

How can I get clear text in VS2013?

All replies (10)

Friday, August 1, 2014 5:43 AM ✅Answered | 4 votes

Hi,

Visual Studio does not have such “Disable display scaling on high DPI settings” setting like other applications to resolve this issue. There is no other way to control it for VS.

My suggestion is to larger the text on the screen through setting ‘Change the size of all items’ under Control Panel->Appearance and Personalization->Display to check whether you can get clear text in VS editor.

If no help, I suggest you to create a connect report for it to get the issue confirmed and diagnose by product team. You will get email notification for update.http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, if you submit it, you could share us the link here, so we could know the latest information from the Product team expert.

Best regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Monday, September 12, 2016 10:59 PM

Here's a problem: When you try to edit it on a DPI scaled screen (i.e Surface Pro 4) and then try to edit it on non scaled screen (i.e every standard 1366x768 screen on 14" laptops), then you'll get into trouble because you couldn't see the unsealed version when you were editing it. Please reconsider this as the next feature of VS 15, scaling perfectly on every part of the UI while giving OPTIONS if you want to not scale ONLY the form editor or ALL parts of the program.


Wednesday, February 15, 2017 3:01 PM

Didn't mean to upvote this, can't un-upvote it... VS 2008 is auto-scaling incorrectly. Both monitors are at (recommended 1920 x 1080) resolution.  Everything is fine for some time, then it auto-rescales to something like the equivalent of thinking you're on 3840 x 2160, and there is no apparent way to fix it. The answer given is not a valid answer for the OP, as marked by the moderator.


Tuesday, May 23, 2017 5:06 PM | 4 votes

Win 10 + VS2008, VS2012, etc. vs no way to disable DPI scaling

There is no option *listed* because, Microsoft. No Compatibility tab in the right-click context menu for the .exe, and so on.  However, it is possible to disable DPI scaling with VS/BIDS/etc by using the right-click context menu option "troubleshoot compatibility". Select the option that says the program used to display correctly but no longer does so. (under 'select troubleshooting option" choose, "troubleshoot program".  Then select, "the program opens but doesn't display correctly", and then, "Program does not display property when large scale fond settings are selected").

Presto! DPI scaling is disabled for VS. Now, to track down the .REG flag it is hopefully flipping...

[update] Reg setting info appears to be here:

https://blogs.technet.microsoft.com/mspfe/2013/11/21/disabling-dpi-scaling-on-windows-8-1-the-enterprise-way/


Thursday, July 6, 2017 5:02 PM

This "fix" works well, thanks.


Thursday, January 11, 2018 9:56 PM | 1 vote

https://code4ward.net/2016/11/29/visual-studio-winforms-designer-on-highdpi/


Tuesday, March 13, 2018 9:18 AM

It works! Thanks!


Sunday, August 19, 2018 2:14 PM

VS 15.8 has added a solution. (I tried to post the link o the explanation, but Forums will not let me do so until my account is verified.  This appears to be a VERY slow process.


Friday, September 21, 2018 5:56 PM

thank you.. worked beautifully.. :-)


Tuesday, August 6, 2019 2:44 PM

Oh man. This worked for VS 2017 and I am sure it will also work for VS 2019. Thank you very much.