Skip to content

Commit

Permalink
Fix overlapping label
Browse files Browse the repository at this point in the history
  • Loading branch information
GeKorm committed Nov 6, 2017
1 parent 443037d commit 38fff7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion dart_x64_dev_setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,14 @@ begin
LatestLabel := TNewStaticText.Create(WizardForm);
LatestLabel.Parent := Page.Surface;
LatestLabel.Caption := FmtMessage(CustomMessage('DartLatestVersion'), [CurrentVersion]);
WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16;
if Wizardform.ReadyMemo.Lines.Count > 0 then
begin
WizardForm.ReadyLabel.Caption := '';
end
else
begin
WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16;
end
end
end;
// If the user just reached the Installing page, then...
Expand Down
9 changes: 8 additions & 1 deletion dart_x64_stable_setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,14 @@ begin
LatestLabel := TNewStaticText.Create(WizardForm);
LatestLabel.Parent := Page.Surface;
LatestLabel.Caption := FmtMessage(CustomMessage('DartLatestVersion'), [CurrentVersion]);
WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16;
if Wizardform.ReadyMemo.Lines.Count > 0 then
begin
WizardForm.ReadyLabel.Caption := '';
end
else
begin
WizardForm.ReadyLabel.Top := LatestLabel.Top + WizardForm.ReadyLabel.Height + 16;
end
end
end;
// If the user just reached the Installing page, then...
Expand Down

0 comments on commit 38fff7a

Please sign in to comment.