mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 19:58:18 +02:00
IdeIntf: Change TIDEDialogLayoutList.ApplyLayout UseAsMin parameter default from True to False. Clean calls in code accordingly.
git-svn-id: trunk@55988 -
This commit is contained in:
parent
60b135d29f
commit
d25418e28d
@ -74,7 +74,7 @@ type
|
||||
procedure Assign(Source: TIDEDialogLayoutList);
|
||||
procedure ApplyLayout(ADialog: TControl;
|
||||
DefaultWidth, DefaultHeight: integer;
|
||||
UseAsMin: boolean = true);
|
||||
UseAsMin: boolean = false);
|
||||
procedure ApplyLayout(ADialog: TControl);
|
||||
procedure SaveLayout(ADialog: TControl);
|
||||
procedure Clear;
|
||||
|
@ -160,7 +160,7 @@ begin
|
||||
SetBuildModeVisibility(False);
|
||||
UseBuildModeCheckBox.Caption:=lisBuildModes;
|
||||
|
||||
IDEDialogLayoutList.ApplyLayout(Self, Width, Height);
|
||||
IDEDialogLayoutList.ApplyLayout(Self);
|
||||
Caption := dlgIDEOptions;
|
||||
ButtonPanel.OKButton.Caption := lisMenuOk;
|
||||
ButtonPanel.OKButton.OnClick := @OKButtonClick;
|
||||
|
@ -361,7 +361,7 @@ end;
|
||||
|
||||
procedure TNewOtherDialog.FormCreate(Sender: TObject);
|
||||
begin
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 750, 410, False);
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 750, 410);
|
||||
end;
|
||||
|
||||
procedure TNewOtherDialog.SetupComponents;
|
||||
|
@ -669,7 +669,7 @@ begin
|
||||
PopulateGrid;
|
||||
StatusBar.Panels[0].Text := self.MainFilename;
|
||||
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 950, 680, false);
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 950, 680);
|
||||
end;
|
||||
|
||||
procedure TProcedureListForm.FormDestroy(Sender: TObject);
|
||||
|
@ -185,7 +185,7 @@ end;
|
||||
procedure TUseUnitDialog.FormCreate(Sender: TObject);
|
||||
begin
|
||||
// Internationalization
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 500, 460, False);
|
||||
IDEDialogLayoutList.ApplyLayout(Self, 500, 460);
|
||||
AllUnitsCheckBox.Caption := dlgShowAllUnits;
|
||||
SectionRadioGroup.Caption := dlgInsertSection;
|
||||
SectionRadioGroup.Items.Clear;
|
||||
|
@ -193,7 +193,7 @@ end;
|
||||
|
||||
procedure TInstallPkgSetDialog.InstallPkgSetDialogCreate(Sender: TObject);
|
||||
begin
|
||||
IDEDialogLayoutList.ApplyLayout(Self,Width,Height);
|
||||
IDEDialogLayoutList.ApplyLayout(Self);
|
||||
|
||||
InstallTreeView.Images := IDEImages.Images_16;
|
||||
AvailableTreeView.Images := IDEImages.Images_16;
|
||||
|
@ -370,7 +370,7 @@ var
|
||||
aSize: TSize;
|
||||
Img: TBitmap;
|
||||
begin
|
||||
IDEDialogLayoutList.ApplyLayout(Self,Width,Height);
|
||||
IDEDialogLayoutList.ApplyLayout(Self);
|
||||
|
||||
DeleteSelectedFilesButton:=TButton.Create(Self);
|
||||
with DeleteSelectedFilesButton do
|
||||
|
Loading…
Reference in New Issue
Block a user