-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
about scale #489
Comments
Hi, I can't see the attached screenshot but this seems to be a duplicate if the issue #484 |
issue #484 i can not find the answer. after i click 1. Initialize ,It has become smaller and form caption disappeared。 |
I tested the DLLBrowser demo again with Delphi 12 in Windows 10 with a 4k monitor using 200% scale and it works correctly. Please, check that the CEF4DelphiLoader project has the right manifest settings. Right-click on the "CEF4DelphiLoader.exe" node in the "Projects" panel and select "Options". Then go to the "Application -> Manifest" section and make sure the "DPI awareness" option has a "Per monitor" value and the "Manifest File" option is set to "Auto Generate". |
Another workaround: call SetProcessDpiAwareness before loading the CEF. Similar issue in stackoverflow. |
Hi, here's my problem i code on delphi 10.1, with 2k screen (150% on windows scale)
and without Enable-High-DPI
When i launch my app without cef no problem, and when i add :
CreateGlobalCEFApp;
if GlobalCEFApp.StartMainProcess then
the app length and height are only 2/3 of the original size
How do I solve this problem?
![Uploading image.png…]()
please give me some code to fix it
The text was updated successfully, but these errors were encountered: