|
@@ -219,6 +219,7 @@ type
|
|
|
destructor Destroy; override;
|
|
|
procedure AddPage(const APage: TWizardPage; const AfterID: Integer);
|
|
|
function AdjustLabelHeight(const ALabel: TNewStaticText): Integer;
|
|
|
+ function AdjustLinkLabelHeight(const ALinkLabel: TNewLinkLabel): Integer;
|
|
|
procedure CallCancelButtonClick(var ACancel, AConfirm: Boolean);
|
|
|
procedure ChangeFinishedLabel(const S: String);
|
|
|
procedure ClickToStartPage;
|
|
@@ -541,9 +542,16 @@ function TWizardForm.AdjustLabelHeight(const ALabel: TNewStaticText): Integer;
|
|
|
{ Increases or decreases a label's height so that all text fits.
|
|
|
Returns the difference in height. }
|
|
|
begin
|
|
|
+ ALabel.AutoSize := False;
|
|
|
Result := ALabel.AdjustHeight;
|
|
|
end;
|
|
|
|
|
|
+function TWizardForm.AdjustLinkLabelHeight(const ALinkLabel: TNewLinkLabel): Integer;
|
|
|
+begin
|
|
|
+ ALinkLabel.AutoSize := False;
|
|
|
+ Result := ALinkLabel.AdjustHeight;
|
|
|
+end;
|
|
|
+
|
|
|
procedure TWizardForm.IncTopDecHeight(const AControl: TControl; const Amount: Integer);
|
|
|
begin
|
|
|
AControl.SetBounds(AControl.Left, AControl.Top + Amount,
|