How to change scale of JavaFX applications?

Viewed 351

I am trying to use the AsciidocFX editor on a 4K monitor and the user interface is too tiny.

enter image description here

I tried to play around with the settings, but it seems that it is not possible to change the scale of the UI from within the application.

Since AsciidocFX is written using the JavaFX framework, I thought that I could change the settings by modifying the vmoptions of the application, or by passing some flags from the command line. Is this possible?

1 Answers

Which Java version do you use? JavaFX 9 and later should upscale on HiDPI automatically.

Also, you can try to control HiDPI scaling with the next VM parameter:

-Dglass.win.uiScale=125%

Related