-
Notifications
You must be signed in to change notification settings - Fork 255
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
Support per-monitor DPI #836
Comments
@ongun-kanat thanks for raising this issue! @punker76 is this something that MahApps can help with? |
@gep13 We can do this by targeting the Gui to v4.6.2 .Net Framework. |
@punker76 ah, gotcha. Ok, let me get back to you on that one 😄 |
This should allow the support for Per-Monitor support for high DPI. In order for this to work, we had to first move to a higher version of .NET Framework, and also to reference the higher framework version of MahApps. Both of these were taken care of in this issue: #841
@ongun-kanat I have just made a commit into the repository that adds in the changes to the app.manifest that @punker76 suggested. This will result in a new package being pushed to our MyGet feed as a pre-release package. Would you be willing to take this for a spin to confirm that it is now working as expected? If so, you should be able to install the pre-release package using the following command:
Please let us know if you have any problems/questions. |
@gep13 Works on my machine TM (125 %) |
@punker76 sweet! Will wait for @ongun-kanat to confirm, and then we can close out this issue. |
Will rebase this later, just getting it done for now.
That is great! Thanks for confirming! |
🎉 This issue has been resolved in version 0.20.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
High-DPI displays are getting common each passing day. However, many users like me still own Low-DPI screens and use them in combination with newer High-DPI monitors. My laptop has a 1080p display and I connect it to a 4K display with 125% scaling. This causes the embedded display to be rendered 96 DPI while the 4K display to be rendered in 120 DPI.
Windows 10 has an API to support multiple displays with different DPI values (https://github.com/microsoft/WPF-Samples/tree/master/PerMonitorDPI). For applications that doesn't support this API, Windows scales the window by stretching the rendered raster of the window. Currently, Chocolatey GUI is rendered blurry if I move the window to my 4K display. Implementing per-monitor DPI support for Chocolatey GUI would provide a better user experience overall.
The text was updated successfully, but these errors were encountered: