Skip to content

Instantly share code, notes, and snippets.

@danieldogeanu
Last active May 6, 2018 14:21
Show Gist options
  • Save danieldogeanu/83cd0242eadff0b99eecee944c5660aa to your computer and use it in GitHub Desktop.
Save danieldogeanu/83cd0242eadff0b99eecee944c5660aa to your computer and use it in GitHub Desktop.
Scale Android Studio 3.1.1 on Secondary Display on Windows 10 (HiDPI)
Steps for Windows 10:
1. Open Android Studio and go to `Help > Edit Custom Properties...` from the menu.
2. In the `idea.properties` file that opens, add `sun.java2d.uiScale.enabled=true` (without backticks or semicolon at the end).
3. Save the file and restart Android Studio.
The point is this: With JRE scaling disabled, when you move IDEA to the secondary screen, scaling is done by MS Windows.
It simply scales down (or up, depending on your monitor scale) the whole window resulting in that you see the blurred content.
With JRE scaling enabled IDEA turns into "Per-Monitor DPI" mode and manages scaling on its own.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment