MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
15.05k stars 3.41k forks source link

DatePicker DPI Awareness Issue #1714

Open JamesTingle opened 4 years ago

JamesTingle commented 4 years ago

Hello,

I'm using the lib in a WPF app with PerMonitorV2 DPI awareness enabled. Things all seem fine, until I use the DatePicker control.

The popup appears blurry and has not been scaled properly. The textbox on the main page displays fine.

I have two DatePickers. I've set the first one to use the standard WPF style, and the second one to use the material style. The standard one is fine, the material style is not.

My code is:

`

` Without the popups open: ![image](https://user-images.githubusercontent.com/53109310/77759335-77436980-702c-11ea-80fe-da34a0af1c5e.png) WPF Style: ![image](https://user-images.githubusercontent.com/53109310/77759581-d7d2a680-702c-11ea-9080-041d6edb59a8.png) Material Style: ![image](https://user-images.githubusercontent.com/53109310/77759546-c9848a80-702c-11ea-8f8e-e550e3fcbd1c.png) Please forgive me, I don't know if this is something I've done, or is a bug in the theme! Thanks
Keboo commented 4 years ago

This looks like a ClearType issue. Looks like it also reproduces in the demo app: image