Skip to content

4K Screen Support #33

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

Open
ml48603 opened this issue Feb 27, 2022 · 3 comments
Open

4K Screen Support #33

ml48603 opened this issue Feb 27, 2022 · 3 comments

Comments

@ml48603
Copy link

ml48603 commented Feb 27, 2022

Running on Ubuntu 20.04

Can the UI be scaled for use on a 4k screen?

What are the steps to accomplish this? Thanks

@blurpy
Copy link
Owner

blurpy commented Feb 28, 2022

I am not sure, as I don't have a 4k monitor. It works on macOS with a retina screen though.

From a simple search I found some tips: https://wiki.archlinux.org/title/HiDPI#Java_applications

Could you test the suggestions there?

@ml48603
Copy link
Author

ml48603 commented Feb 28, 2022

Thank-you,

This scaling method allows adjustment of the Java UI on my 4k screen. Attached is a pdf showing the scaling fix in action. This fix opens up a whole world of great little Java utilities that can be now be used.

$ java -Dsun.java2d.uiScale=200% -jar kouchat-1.3.0.jar

HOW-TO-Ubuntu-2004-Java-Jar-Scaling-On-4k-Screen.pdf
Kouchat_icon
f

@blurpy
Copy link
Owner

blurpy commented Mar 1, 2022

That looks like a good improvement! Glad to see it worked.

I'll keep this open as a reminder to look for a way to handle this with code in the future, or document the parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants