Intellij IDEA JavaFX Scene Builder different resolution to the rest of the application

人走茶凉 提交于 2020-01-16 19:52:11

问题


I have this issue with the JavaFX Scene Builder. It works as intended but the resolution seems to be lower than the rest of the application.

Intellij IDEA did update recently to the 2018 version and thats when the issue started. I have tried downgrading to the previous version but the issue is still there.

Is there a way that I can revert the settings for Scene Builder or is there a setting that I have missed? Can't find anything about it online.

TIA


回答1:


It's a known issue.

Current workaround is to add -Dsun.java2d.uiScale.enabled=false in Help | Edit Custom VM Options.




回答2:


I thought this is a scaling issue, follow the bellow steps to fix it:

  1. right click on the IntelliJ.exe file.
  2. select Properties | Compatibility.
  3. check the Compatibility mode check box and select the Windows 8 from the drop list.
  4. click Change high DPI settings.
  5. check the Program DPI check box.
  6. check the High DPI scaling override check box and select the System (Enhanced) from the drop list.
  7. restart the ide.


来源:https://stackoverflow.com/questions/50003269/intellij-idea-javafx-scene-builder-different-resolution-to-the-rest-of-the-appli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!