 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
paul44 Expert Cheater
Reputation: 3
Joined: 20 Jul 2017 Posts: 227
|
Posted: Wed Nov 04, 2026 12:57 pm Post subject: Windows 11 and fixDPI() |
|
|
see images: [ https://ibb.co/album/Jv9XBL ]
first: on Windows 10 no problems whatsoever
(or at least as far as i know)
What happens: when 'rebuilding' the form (= rerun script that builds the form), it'll start "deforming" the form as shown in image.This ONLY happens when using the fixDPI() function ?!
Obvious Q: how to fix this, if any ?
I could not find a solution here, but google suggested:
a) Change high DPI settings via ce_exe properties: nogo
=> i can not ask my users to do this anyways.
b) Inform CE your initial monitor scaling:
myForm.DesignTimePPI = 96
...
-- Forces Cheat Engine to scale fonts and controls correctly
myForm.fixDPI()
=> does not work either.
ps: atm i've just disabled it, and do not have any issues with it. In fact, the suggestion to use this fn came from one of my users (having a 4K monitor ~ i'm "just" at 1920x1280)
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 26021 Location: The netherlands
|
Posted: Thu Nov 05, 2026 5:52 am Post subject: |
|
|
use anchoring.
Top Anchor, Left anchor, borderspacing
Connect one control to the one in the top, then the other one under there, or right of it, and autosize the window
also, is your form a frm/lfm or .lua code
(and your issue seems more like a different font for the header and the text at the bottom)
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|