Skip to content

Commit 0a06d84

Browse files
committed
Fix high DPI issues on installer
1 parent b2a4e09 commit 0a06d84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

out/heidisql.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ begin
147147
txt.Parent := WizardForm.FinishedPage;
148148
txt.Caption := '{#ProgName} is free software for database workers.'+#13#10+'Keep it alive with a donation:';
149149
txt.Left := WizardForm.FinishedLabel.Left;
150-
txt.Top := WizardForm.FinishedLabel.Top + 130;
150+
txt.Top := WizardForm.FinishedLabel.Top + WizardForm.FinishedLabel.Height + 80;
151151
152152
btn := TButton.Create(WizardForm);
153153
btn.Parent := WizardForm.FinishedPage;
154154
btn.Left := txt.Left;
155155
btn.Top := txt.Top + txt.Height + 10;
156-
btn.Width := 140;
156+
btn.Width := WizardForm.Width div 2;
157157
btn.Height := WizardForm.CancelButton.Height + 10;
158158
btn.Caption := 'Donate via Paypal';
159159
btn.OnClick := @DonateClick;

0 commit comments

Comments
 (0)