diff --git a/CefSharp.MinimalExample.WinForms/Program.cs b/CefSharp.MinimalExample.WinForms/Program.cs index 280aba3..aaa9a1e 100644 --- a/CefSharp.MinimalExample.WinForms/Program.cs +++ b/CefSharp.MinimalExample.WinForms/Program.cs @@ -19,7 +19,10 @@ namespace CefSharp.MinimalExample.WinForms CefRuntime.SubscribeAnyCpuAssemblyResolver(); #endif - //For Windows 7 and above, best to include relevant app.manifest entries as well + // Programmatically enable DPI Aweness + // Can also be done via app.manifest or app.config + // https://github.com/cefsharp/CefSharp/wiki/General-Usage#high-dpi-displayssupport + // If set via app.manifest this call will have no effect. Cef.EnableHighDPISupport(); var settings = new CefSettings() diff --git a/CefSharp.MinimalExample.WinForms/app.manifest b/CefSharp.MinimalExample.WinForms/app.manifest index 566ab3b..3ae5458 100644 --- a/CefSharp.MinimalExample.WinForms/app.manifest +++ b/CefSharp.MinimalExample.WinForms/app.manifest @@ -33,10 +33,16 @@ - + + - - true/PM + + PerMonitorV2 + true/PM