Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010: text becoming blurry when scrolling

I have a problem with Visual Studio 2010. It happens when I scroll down/up, for example, in properties window. Its content becomes blurry for milliseconds.

It also happens in my own WPF applications when I use a “ScrollViewer”.

Does anybody know how to solve it?

like image 849
Jorge V. Avatar asked Nov 17 '10 15:11

Jorge V.


1 Answers

In your own WPF applications it is possible to constrain scroll offsets to device pixels by using a custom IScrollInfo implementation. This is easy enough to do. Note that you will have to get the actual screen DPI to do the calculation.

In Visual Studio there is no "reasonable" way to fix it. Obviously you could hack up the VS.NET executables to include your own IScrollInfo implementation, but I wouldn't recommend it!!

like image 186
Ray Burns Avatar answered Sep 29 '22 13:09

Ray Burns