Live-Charts icon indicating copy to clipboard operation
Live-Charts copied to clipboard

Disable Dpi Awareness in Winforms project

Open magedragheb opened this issue 7 years ago • 0 comments

Summary

Controls in Winforms have broken layout due to Dpi Awarness,

"When WPF is loaded into a project, it promotes the process to be System DPI Aware" source: https://stackoverflow.com/a/36344413/4542599

Solves

Adding [assembly: DisableDpiAwareness] to AssemblyInfo fixes this problem

magedragheb avatar Mar 13 '19 15:03 magedragheb