8

A potentially very stupid question, but I'm lost.
How do I change the font size of the menu bars (i.e. the labels "File", "Edit", "Selection", "View", ...) including the sidebar explorers, extension menus etc. (i.e. every text that is not the main coding window)?

illustration

I tried searching the user settings for "font" but I did not see any option specific for the menu font size.
I was also not able to find it via Googling.
The version of VSCode I currently have is 1.63.2 I am sure I missed something and apologies in advance for this simple-minded question.

2
  • 1
    I don't think it's possible. You either need to change the scale of the entire gui, or use custom CSS. Commented Mar 1, 2022 at 6:52
  • 1
    Thank you! If anyone else is wondering: "CTRL and +" or "CTRL and -" are the standard shortcuts for changing GUI size.
    – Nico Autia
    Commented Mar 1, 2022 at 6:59

2 Answers 2

10

Press Ctrl+Shift+P to bring up the command palette and run the View: Zoom In or View: Zoom Out command. The default keybindings for these commands are Ctrl++ and Ctrl+-.

There is also an extension called Zoom Bar which adds the overall zoom level to the status bar.

This will zoom your main coding windows as well, but you can work against that by adjusting your editor font size in your JSON settings:

"editor.fontSize": 14

Increase or decrease this depending on your zoom level.

2
  • 1
    This solved my specific issue I was having, but not quite the question above - as @HolyBlackCat noted, there currently doesn't seem to be a way to change the menu font size independent of the main font size.
    – Nico Autia
    Commented Mar 1, 2022 at 8:23
  • 1
    You're right. I updated the answer accordingly. Commented Mar 1, 2022 at 9:44
1

I faced this exact issue while connecting to an external 4k monitor, the solution I could find relies actually on a windows setting rather than a VS one. Basically if from the desktop you check your display settings you can adjust as well the resolution and the "scale". In my case I set this to 150%, restarted visual studio and now the menu looks good windows display settings menu

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Jan 12 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.