Skip to content

Commit 9b83ff5

Browse files
committed
Improved DPI awareness
1 parent 5c40983 commit 9b83ff5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Demos/Demo34/Demo34.dproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
7878
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
7979
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
80+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
8081
</PropertyGroup>
8182
<PropertyGroup Condition="'$(Base_Win64)'!=''">
8283
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
@@ -87,6 +88,8 @@
8788
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
8889
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
8990
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
91+
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
92+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
9093
</PropertyGroup>
9194
<PropertyGroup Condition="'$(Cfg_1)'!=''">
9295
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>

0 commit comments

Comments
 (0)