Search code examples
xamarin.iosmonodevelopretina-displaygtk#xamarin

Can I make MonoDevelop look good on a Retina display?


I bought a new Retina MacBook Pro to develop for iOS with MonoTouch.
It is extremely frustrating that, probably because it is built on Gtk#, MonoDevelop is very blurry.

MonoDevelop blurry on Retina display

I can cope with blurry UI but I can't read or write code because it hurts my eyes.

What is the current status of Retina support in Gtk# and MonoDevelop?
Is there any (experimental) compile flag at least to enable proper code rendering?

If I want to contribute, which component is in charge of this? Is it Gtk# or Gtk itself?


Solution

  • Update

    This has been fixed as of MonoDevelop 3.0.4:

    Other improvements and bug fixes

    • Fixed rendering on MacBook with retina display

    So just go and download it.

    Workaround for Older Versions (and other apps, too)

    There is a temporary work around I used for WebStorm that worked well. It should work for MonoDevelop too.

    You can use that in the mean time until the Xamarin folks get an update to MonoDevelop out.
    Here it goes:

    1. Locate MonoDevelop in Applications and click Show Package Contents

    enter image description here

    1. Open Contents/Info.plist in any editor and add this after opening <dict>:

      <key>NSHighResolutionCapable</key>
      <true/>
      
    2. Copy and paste MonoDevelop app bundle, delete the old one and rename the new one back to MonoDevelop. This will flush system caches.

    You will notice that MonoDevelop.app info now has Low Resolution option unchecked and the code renders smoothly.

    enter image description here