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

Per Monitor DPI Awareness #35

Closed
stefnotch opened this issue Dec 22, 2020 · 1 comment · Fixed by #219
Closed

Per Monitor DPI Awareness #35

stefnotch opened this issue Dec 22, 2020 · 1 comment · Fixed by #219
Labels
enhancement New feature or request

Comments

@stefnotch
Copy link
Member

stefnotch commented Dec 22, 2020

Issue description:
Flax is currently DPI aware, however, it is possible that different monitors have a different DPI.

To properly and reasonably elegantly implement this, I suppose that we'll need a DPI scale property for each window. And the C++ side has to take care of correctly updating it.

Steps to reproduce:
You need Windows 10 and two monitors

  1. Change the scaling on both monitors
  2. Open Flax
  3. Move the window from one monitor to the other
  4. Maximize the window

Flax version:
Flax 1.0

@jb-perrier
Copy link
Member

I think it's the way it need to be handled, for now using flax on multiple monitor with different res/dpi scale is sometimes very frustrating.

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

Successfully merging a pull request may close this issue.

3 participants