Reputation: 556
I have coded an application in Delphi XE2. I have updated to Delphi 10.2. When I compile my code, it seems that the user interface is very small. This happens in Windows 10. I am writing a blank app and everything seems great but the previous application seems tiny. I think it's about DPI support but the previous one that I coded in XE2 seems to be working great.
I think I have to change some settings, maybe in Application settings. But I couldn't find it yet.
If this question does not meet the requirements, I will delete it. I really don't want to make anyone mad.
EDIT: Here is my manifest file. As you stated, DPI is enabled. But doesn't it have to be?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
Thanks
Upvotes: 0
Views: 478