Giter Club home page Giter Club logo

Comments (10)

metaphore avatar metaphore commented on May 17, 2024

Good call, UI scaling is something the app is really missing. One thing though, due to implemention, it's fairly easy to just scale up all graphics, but not really support textures for another resolution, but the approach should be just fine for now. Also, I'm not sure that system UI scaling value is available to Java process that easy, so the setting should be changed only manually.

from gdx-texture-packer-gui.

Hangman avatar Hangman commented on May 17, 2024

I'm not sure about LWJGL2 backend, but version 3 seems to provide access to the system scaling value.
https://github.com/libgdx/libgdx/wiki/Querying-%26amp%3B-configuring-graphics-%28monitors%2C-display-modes%2C-vsync%29

If not... a button to toggle hdpi mode would do the job as well :)
Nice app btw, i'm loving it, thanks for the work!

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on May 17, 2024

Thanks, will look if I can access system scaling somehow to apply UI scaling automatically.

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on May 17, 2024

@Hangman so I've added interface scaling configuration dialog to Tools menu, so you will be able to adjust interface size to your needs now.

Alt Text

The only problem, that as from what I've read, native scaling is always on for Windows 10, means we cannot control it yet from the code side (or I just cannot reproduce it under Java8 JRE, So I'm always getting my app window natively prescaled on an HDPI monitor). Anyway there are a lot of topics around the issue on the net and probably after few things get fixed in GLHF (which is LWJGL based on), I will revisit forced Win10 system scaling topic once again.

from gdx-texture-packer-gui.

Hangman avatar Hangman commented on May 17, 2024

!!! Thank you so much, this change helps a lot.

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on May 17, 2024

BTW, what is OS you're on?

from gdx-texture-packer-gui.

Hangman avatar Hangman commented on May 17, 2024

I'm on Win10 with 200% scaling.

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on May 17, 2024

I have 125% scaling set for one of my monitors and still cannot make the window to ignore system scaling. So you're saying that texture packer window appears to be tiny and pixel perfect on your side? What's JRE you're running?

from gdx-texture-packer-gui.

Hangman avatar Hangman commented on May 17, 2024

This is how it looks like on my screen. My JRE is of version 9.0.4. I've done a reboot after the resolution/scaling change... Windows says some apps won't recognize the change. So no problem with that.

1920*1080 on 100% scaling
1080

3840*2160 on 200% scaling
4k

from gdx-texture-packer-gui.

metaphore avatar metaphore commented on May 17, 2024

Oh, it's a bit different case, the bug in GLHF that I've mentioned. It was about that GLHF can't recognize system scaling values properly and as a result sets wrong viewport configuration. Unfortunately, this will only get fixed in LibGDX 1.9.9, and in order to apply the fix, we have to wait for the official release, I hope this will happen some time soon.

Anyway, I believe interface scaling at least will let you upscale UI a little to have readable content for now.

from gdx-texture-packer-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.