Skip to content

Commit

Permalink
feat: enabled high dpi support (via LCL and windows manifest)
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadorbs committed Aug 23, 2022
1 parent 8d40d72 commit 1bdc3c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions ASuite.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<ResourceType Value="res"/>
<UseXPManifest Value="True"/>
<XPManifest>
<DpiAware Value="True"/>
<TextName Value="ASuite"/>
<TextDesc Value="Portable Launcher"/>
</XPManifest>
Expand Down
8 changes: 5 additions & 3 deletions ASuite.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@
DeleteFile('heap.trc');
SetHeapTraceOutput('heap.trc');
{$ENDIF}


Application.Scaled := True;
Application.Initialize;
Application.Title := APP_TITLE;
Application.Title := APP_TITLE;

Application.CreateForm(TfrmMain, frmMain);
Application.CreateForm(TfrmGraphicMenu, frmGraphicMenu);
Application.CreateForm(TfrmGraphicMenu, frmGraphicMenu);

//Show MainForm and/or TrayMenu
Application.ShowMainForm := Config.ShowPanelAtStartUp;
if (Config.ShowGraphicMenuAtStartUp) then
Expand Down

0 comments on commit 1bdc3c8

Please sign in to comment.