Skip to content

Commit

Permalink
Added: support for per-monitor DPI awareness in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNicker committed Jul 29, 2023
1 parent 0ce3464 commit 97c5cf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doublecmd.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
<SessionStorage Value="InProjectDir"/>
<AutoCreateForms Value="False"/>
<Title Value="Double Commander"/>
<Scaled Value="True"/>
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<XPManifest>
<DpiAware Value="True"/>
<DpiAware Value="True/PM_V2"/>
</XPManifest>
<Icon Value="0"/>
<Resources Count="1">
Expand Down
1 change: 1 addition & 0 deletions src/doublecmd.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@

// Fix default BidiMode
// see http://bugs.freepascal.org/view.php?id=22044
Application.Scaled:=True;
Application.BidiMode:= bdLeftToRight;

Application.Title:='Double Commander';
Expand Down

0 comments on commit 97c5cf0

Please sign in to comment.