Skip to content
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

Look and feel is not configurable #33

Open
bigfoot547 opened this issue May 19, 2023 · 4 comments
Open

Look and feel is not configurable #33

bigfoot547 opened this issue May 19, 2023 · 4 comments

Comments

@bigfoot547
Copy link
Member

Make a property or something that allows configuration of the look-and-feel of the launcher

@toydotgame
Copy link

Somewhat related to this I would say is to add support for high DPI screens/display scaling as my 14" 1080p screen makes it uncomfortable to read text.

@bigfoot547
Copy link
Member Author

bigfoot547 commented Mar 10, 2024

There's unfortunately not a way to do that, as swing was not designed with high DPI displays in mind. Try to run the launcher in compatibility mode or use a JVM that does not report itself as "DPI-aware" despite not being so.

Edit: you could also try passing the JVM option -Dsun.java2d.uiScale=2.5.

@toydotgame
Copy link

Using the command(s) java or javaw on windows, passing that JVM option, then specifying the jarfile seems to have no effect on the UI scaling unfortunately.
(Small update also is that this doesn't affect my main Arch machine, but does on my Win10 LTSC laptop, so probably a Windows issue/Windows JRE idk for sure…)

@bigfoot547
Copy link
Member Author

just had DPI issues of my own on a 4k monitor. The issues are upstream of the launcher though, so really you should use windows's compatibility settings on javaw.exe to have it ignore the "dpi-aware" status which is erroneously set for a lot of JREs.

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