mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 11:59:13 +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 Assign(Source: TIDEDialogLayoutList);
|
||||||
procedure ApplyLayout(ADialog: TControl;
|
procedure ApplyLayout(ADialog: TControl;
|
||||||
DefaultWidth, DefaultHeight: integer;
|
DefaultWidth, DefaultHeight: integer;
|
||||||
UseAsMin: boolean = true);
|
UseAsMin: boolean = false);
|
||||||
procedure ApplyLayout(ADialog: TControl);
|
procedure ApplyLayout(ADialog: TControl);
|
||||||
procedure SaveLayout(ADialog: TControl);
|
procedure SaveLayout(ADialog: TControl);
|
||||||
procedure Clear;
|
procedure Clear;
|
||||||
|
@ -160,7 +160,7 @@ begin
|
|||||||
SetBuildModeVisibility(False);
|
SetBuildModeVisibility(False);
|
||||||
UseBuildModeCheckBox.Caption:=lisBuildModes;
|
UseBuildModeCheckBox.Caption:=lisBuildModes;
|
||||||
|
|
||||||
IDEDialogLayoutList.ApplyLayout(Self, Width, Height);
|
IDEDialogLayoutList.ApplyLayout(Self);
|
||||||
Caption := dlgIDEOptions;
|
Caption := dlgIDEOptions;
|
||||||
ButtonPanel.OKButton.Caption := lisMenuOk;
|
ButtonPanel.OKButton.Caption := lisMenuOk;
|
||||||
ButtonPanel.OKButton.OnClick := @OKButtonClick;
|
ButtonPanel.OKButton.OnClick := @OKButtonClick;
|
||||||
|
@ -361,7 +361,7 @@ end;
|
|||||||
|
|
||||||
procedure TNewOtherDialog.FormCreate(Sender: TObject);
|
procedure TNewOtherDialog.FormCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
IDEDialogLayoutList.ApplyLayout(Self, 750, 410, False);
|
IDEDialogLayoutList.ApplyLayout(Self, 750, 410);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TNewOtherDialog.SetupComponents;
|
procedure TNewOtherDialog.SetupComponents;
|
||||||
|
@ -669,7 +669,7 @@ begin
|
|||||||
PopulateGrid;
|
PopulateGrid;
|
||||||
StatusBar.Panels[0].Text := self.MainFilename;
|
StatusBar.Panels[0].Text := self.MainFilename;
|
||||||
|
|
||||||
IDEDialogLayoutList.ApplyLayout(Self, 950, 680, false);
|
IDEDialogLayoutList.ApplyLayout(Self, 950, 680);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TProcedureListForm.FormDestroy(Sender: TObject);
|
procedure TProcedureListForm.FormDestroy(Sender: TObject);
|
||||||
|
@ -185,7 +185,7 @@ end;
|
|||||||
procedure TUseUnitDialog.FormCreate(Sender: TObject);
|
procedure TUseUnitDialog.FormCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
// Internationalization
|
// Internationalization
|
||||||
IDEDialogLayoutList.ApplyLayout(Self, 500, 460, False);
|
IDEDialogLayoutList.ApplyLayout(Self, 500, 460);
|
||||||
AllUnitsCheckBox.Caption := dlgShowAllUnits;
|
AllUnitsCheckBox.Caption := dlgShowAllUnits;
|
||||||
SectionRadioGroup.Caption := dlgInsertSection;
|
SectionRadioGroup.Caption := dlgInsertSection;
|
||||||
SectionRadioGroup.Items.Clear;
|
SectionRadioGroup.Items.Clear;
|
||||||
|
@ -193,7 +193,7 @@ end;
|
|||||||
|
|
||||||
procedure TInstallPkgSetDialog.InstallPkgSetDialogCreate(Sender: TObject);
|
procedure TInstallPkgSetDialog.InstallPkgSetDialogCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
IDEDialogLayoutList.ApplyLayout(Self,Width,Height);
|
IDEDialogLayoutList.ApplyLayout(Self);
|
||||||
|
|
||||||
InstallTreeView.Images := IDEImages.Images_16;
|
InstallTreeView.Images := IDEImages.Images_16;
|
||||||
AvailableTreeView.Images := IDEImages.Images_16;
|
AvailableTreeView.Images := IDEImages.Images_16;
|
||||||
|
@ -370,7 +370,7 @@ var
|
|||||||
aSize: TSize;
|
aSize: TSize;
|
||||||
Img: TBitmap;
|
Img: TBitmap;
|
||||||
begin
|
begin
|
||||||
IDEDialogLayoutList.ApplyLayout(Self,Width,Height);
|
IDEDialogLayoutList.ApplyLayout(Self);
|
||||||
|
|
||||||
DeleteSelectedFilesButton:=TButton.Create(Self);
|
DeleteSelectedFilesButton:=TButton.Create(Self);
|
||||||
with DeleteSelectedFilesButton do
|
with DeleteSelectedFilesButton do
|
||||||
|
Loading…
Reference in New Issue
Block a user