You've already forked lazarus-ccr
LazStats: Cleanup in DistribUnit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -73,6 +73,7 @@ type
|
|||||||
var
|
var
|
||||||
DistribFrm: TDistribFrm;
|
DistribFrm: TDistribFrm;
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$R *.lfm}
|
{$R *.lfm}
|
||||||
@ -196,7 +197,7 @@ procedure TDistribFrm.AdjustConstraints;
|
|||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
|
||||||
paramsPanel.Constraints.MinWidth := 3*CloseBtn.Width + 2*CloseBtn.BorderSpacing.Left;
|
ParamsPanel.Constraints.MinWidth := 3*CloseBtn.Width + 2*CloseBtn.BorderSpacing.Left;
|
||||||
|
|
||||||
ParamsPanel.Constraints.MinHeight :=
|
ParamsPanel.Constraints.MinHeight :=
|
||||||
ShowCriticalValuesChk.Top + ShowCriticalValuesChk.Height + ShowCriticalValuesChk.BorderSpacing.Bottom +
|
ShowCriticalValuesChk.Top + ShowCriticalValuesChk.Height + ShowCriticalValuesChk.BorderSpacing.Bottom +
|
||||||
@ -206,8 +207,6 @@ end;
|
|||||||
|
|
||||||
procedure TDistribFrm.Compute;
|
procedure TDistribFrm.Compute;
|
||||||
var
|
var
|
||||||
msg: String;
|
|
||||||
C: TWinControl;
|
|
||||||
ok: Boolean;
|
ok: Boolean;
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
@ -238,7 +237,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if not ok then
|
if not ok then
|
||||||
MessageDlg('Please select a distribution.', mtError, [mbOK], 0);
|
ErrorMsg('Please select a distribution.');
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user