How to change the font size in the Properties window in Visual Studio IDE
Asked Answered
T

2

7

We can change font for VS IDE items in the Options\Environments\Fonts and Colors dialog. However, I still cannot find how to do that for the Properties pane. Can anybody help me with that?

Working mainly with VS 2013 Professional or Community Editions.

Thury answered 19/11, 2014 at 7:47 Comment(0)
A
9

Use > tools > options > Fonts and Colors (Show settings drop down) Environment font for menus etc Locals Window for properties window

Ammann answered 23/2, 2015 at 9:50 Comment(6)
I just see the 'Environment Font' setting. Is it what you wrote?Thury
Oh, yes - it works! The problem is that it is not applied to the Property Grid immediately like for other VS items (menus, tab headers, etc). We need to restart VS to see the effect.Thury
This looked like the answer for my problem, but still have an issue. I never changed the Font size for the properties and locals windows in Visual Studio 2019. Something happened and those 2 windows Font size now huge. I tried changing in options and Font size is 9 like everything else. Tried resetting to default and restarting with no luck. Any other ideas?Quark
@keith-franklin, what "fixed" this for me was disabling "Tools -> Options -> Environment -> Optimize rendering for screens with different pixel densities (requires restart)". This option was in preview for Visual Studio 2019. I say it fixed it, but it causes bad font rendering in general, but it does restore the huge fonts to what is expected for the property window. Restoring it brings back the large fonts again. This seems to be an HDPI rendering issue. I inflicted this by remoting into my Visual Studio session from another machine and it seems like it broke how HDPI is managed.Balzer
I opened a bug about this on developercommunity.visualstudio.com. It looks like they recently fixed a similar issue with a different panel, so maybe this is something they can fix. Seems like it has been an issue for a while, and I was hopeful for the 17.11 update would have fixed this too.Balzer
I've figured out a workaround which solved things for me. If you change what your primary monitor is, that made everything render as expected. This isn't resolved as far as I'm concerned because it means that the monitor I primarily use as my secondary monitor now has the notification icons and is where the start menu opens, but it at least makes the property panel useable again. If you open the Project Properties with the primary monitor switched, and then switch it back, Visual Studio seems to keep the correct rendering, but that is lost after Visual Studio is restarted.Balzer
P
0

You must restart the IDE to make the properties window changes

Purposeless answered 26/6, 2020 at 19:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.