Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

Scaling Support

Open Slind14 opened this issue 8 years ago • 11 comments

Hi,

more and more users are upgrading to high res. hardware. Its already common for notebooks and the stand alone monitors are getting more and more, too. With the launcher not scaling this is a major issue for an increasing amount of users.

With the current UI lib not supporting scaling, this would probably be a major change and java 6 support might need to be dropped for a lib with scaling support (e.g. Javafx). Which I know @sk89q doesn't like. What are our options?

Slind14 avatar Jul 11 '16 08:07 Slind14

https://github.com/SKCraft/Launcher/issues/144#issuecomment-221106897

spannerman79 avatar Jul 11 '16 08:07 spannerman79

Just to clarify, this is about the UI and not the "news page rendering".

Slind14 avatar Jul 11 '16 08:07 Slind14

If you read the direct comment that i linked you would have read the comment about using Electron....

spannerman79 avatar Jul 11 '16 08:07 spannerman79

That has nothing to do with the UI scaling issue. That's more like a completely new project.

Slind14 avatar Jul 11 '16 08:07 Slind14

HiDPI support is slated for Java 9 as far as I know.

It may be possible to scale up fonts in the meantime.

sk89q avatar Jul 11 '16 14:07 sk89q

javafx supports scaling, but that would mean the rewrite of the entire UI.

I doubt that changing the font would be enough to make it usable, here are some examples: http://i.imgur.com/OEBHyY3.jpg https://i.imgur.com/Z4f41lY.png https://gyazo.com/e226f7bb3297a45cf33e393ed7b05c33

Slind14 avatar Jul 11 '16 14:07 Slind14

Yea I can't use it like this!, although I don't have this problem Cant it be change in the code?

jtrent238 avatar Jul 12 '16 22:07 jtrent238

if the problem doesn't even affect you, and you don't have anything to contribute, do everyone a favor and stay quiet. you didn't even bother reading the rest of the conversation before making your inane remarks.

wizjany avatar Jul 12 '16 23:07 wizjany

Easier to wait for Java 9 at this point. Rewriting the UI is a lot of work.

sk89q avatar Jul 26 '16 07:07 sk89q

See #163 for some code that may help.

jtrent238 avatar Oct 07 '16 23:10 jtrent238

have we tried setting sun.java2d.uiScale=1; I don't have any hidpi monitors so I can't test this

hedgehog1029 avatar Dec 30 '20 17:12 hedgehog1029