Добавление поддержки масштабирования DPI

This commit is contained in:
Andrey Sotnikov 2024-09-08 20:47:09 +05:00
parent 25e44a3bd6
commit b6cd11e5f0
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="10"/>
<Version Value="12"/>
<PathDelim Value="\"/>
<General>
<Flags>
@ -9,10 +9,11 @@
<LRSInOutputDirectory Value="False"/>
<SaveJumpHistory Value="False"/>
<SaveFoldState Value="False"/>
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="None"/>
<MainUnit Value="0"/>
<Title Value="Калькулятор"/>
<Scaled Value="True"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<XPManifest>
@ -30,9 +31,10 @@
<Version Value="2"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
</local>
<FormatVersion Value="2"/>
<Modes Count="1">
<Mode0 Name="default"/>
</Modes>
</RunParams>
<RequiredPackages Count="1">
<Item1>
@ -83,6 +85,7 @@
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
<DebugInfoType Value="dsDwarf3"/>
<StripSymbols Value="True"/>
</Debugging>
<LinkSmart Value="True"/>

View File

@ -8,6 +8,7 @@ uses
{$R *.res}
begin
Application.Scaled:=True;
Application.Title:='Калькулятор';
RequireDerivedFormResource := True;
Application.Initialize;