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

UI elements very large on Linux HIDPI #5265

Closed
redthing1 opened this issue Jan 8, 2021 · 3 comments
Closed

UI elements very large on Linux HIDPI #5265

redthing1 opened this issue Jan 8, 2021 · 3 comments

Comments

@redthing1
Copy link

Describe the bug
The size of UI elements on my HIDPI screen are very large, probably unnecessarily doubled in size.
See screenshots for more info.

To Reproduce
Steps to reproduce the behavior:

  1. Run the XAML Controls Gallery on a Linux system with X, with DPI set to 192
  2. Observe that everything is really big.

Expected behavior
See screenshots: I expect the ui element size when running the application to be more reasonable, i.e. matching their size previewer there.

Screenshots
It looks fine in the previewer (ignore the background image, it's my IDE theme):
image
However this very same application is now huge (this shows comparison)
image

But when I run the application:

Desktop (please complete the following information):

  • OS: Arch Linux, X with DPI set to 192
  • Version 0.10.0-rc1

Additional context
N/A

@redthing1
Copy link
Author

Here, for comparison, is the same thing running on a non-HIDPI system (which configuration and OS wise is identical to the other):

Here it can be seen that the application matches the previewer in size.

image

@maxkatz6
Copy link
Member

maxkatz6 commented Jan 8, 2021

#4826

@redthing1
Copy link
Author

Oh, that solves my issue. Thank you!

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