-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample app scaling doesn't match OS scaling settings #16
Comments
Have you tried same sample with JDK 9 or 10? See http://openjdk.java.net/jeps/263 |
Thank you @jperedadnr for the quick and informative reply.
I added
Unfortunately, that doesn't seem to have any effect on how the JavaFX app is rendered (content still looks about half the size it should). Same thing if I try GTK2:
I've only tried this with JDK11 but from http://openjdk.java.net/jeps/263 it seems this should be working since JDK9? |
@zugaldia I have the same problem just like you. I wonder if you solved the issure? |
This might go beyond the goal of these samples but, while I'm able to run them, I'm noticing that the scaling of the javaFX app doesn't match the OS:
Notice how the text in the
Label
' is smaller than the window title or the code in the background (IntelliJ)This is running on Ubuntu 18.04 with 200% scale (Settings -> Devices -> Displays), JDK 11 downloaded from here and jmods downloaded from here. I wonder if this is an issue with my set up, or there's a missing flag/setting in the sample code that needs to be added.
The text was updated successfully, but these errors were encountered: