Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Test detail summary font size too large in Visual Studio 2019

Since upgrading from VS2017 to VS2019 I have noticed that the text in test detail summary windows is comically large making it hard to read test results without a great deal of scrolling. This persists in the latest 16.3.1 version. I assume (and hope) that there is an option I can use to control the font used there but I haven't been able to find it. Does anyone know what/where the option might be? Here's a screenshot. enter image description here

like image 827
Steve Crane Avatar asked Sep 27 '19 08:09

Steve Crane


People also ask

How do you change the font size on a test?

Alternatively, you can press down and hold the Ctrl key and press either the + (plus) or – (minus) keys on the keyboard to increase and decrease the font. All browsers also support pressing the Ctrl key and 0 (zero) to reset the font back to the default font size.

How do I reduce font size in Visual Studio?

On the menu bar, choose Tools > Options. In the options list, choose Environment > Fonts and Colors. In Show settings for list, select Text Editor. Modify the Font and Size options to change the font and text size for the editor.

How do I view test detail summary in Visual Studio?

You just need to hover your mouse at the bottom of Test Explorer and drag it up. You can see Test Details summary below of your test regardless of Run or Debug mode.

What is Visual Studio 2019 default font?

By default, the environment font is tied to a system font that appears as 9 pt Segoe UI in current versions of Windows.


2 Answers

In Visual Studio go to

Tools -> Options -> Environment -> Fonts And Colors: 

On the right side:

Show settings for : Text Editor

Display items: Test Summary - Default

Then you can change the font size to 8 (which works best for me)

Then change the Editor Zoom to 125%

I also think Microsoft should fix this problem, stop linking the font style for different windows or at at best, make it optional

like image 125
Gen.L Avatar answered Oct 12 '22 15:10

Gen.L


I guess you mean the monospaced font used to render the message and stack trace. It appears to be linked to the 'text editor' font. You can customize it (Tools - Options - Environment - Fonts and Colors - Text Editor), but that will also affect the editor windows. You could compensate that by increasing the zoom level of the editor windows. Not sure if that is acceptable for you.

like image 38
Ruud Helderman Avatar answered Oct 12 '22 14:10

Ruud Helderman