2

Once in a while I do something, and whenever I use my mouse to scroll my code the text gets larger/smaller.

I hit escape etc., but I can't get out of this mode w/o having to restart vs.net.

What is the secret?

loyalflow
  • 14,275
  • 27
  • 107
  • 168

3 Answers3

2

CTRL + scrollwheel zooms the IDE. Hit the CTRL key a few times or blur the window (i.e. take focus away from it, sometimes VS gets confused).

Tim M.
  • 53,671
  • 14
  • 120
  • 163
1

In short: this happens because while scrolling mouse you may accidentally hold the Ctrl key on your keyboard. Once you release your Ctrl key this zoom IN/OUT behavior should stop.

You may effectively disable this behavior - How do I disable zoom on control-scroll in Visual Studio 2010.

enter image description here

Community
  • 1
  • 1
Yusubov
  • 5,815
  • 9
  • 32
  • 69
0

Yes, ctrl + scrolldown/scrollup results in zoom out/in.You can use the dropdown containing the zoom level(in percent) at the bottom left of the screen in source window to revert it back to normal. 100% is the normal zoom percentage.

Srinivas
  • 1,063
  • 7
  • 15