mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 12:19:31 +02:00
IDE, Build Lazarus dialog: remember form size
git-svn-id: trunk@28226 -
This commit is contained in:
parent
268bad15c4
commit
d6e31c9d2c
@ -10,6 +10,7 @@ object ConfigureBuildLazarusDlg: TConfigureBuildLazarusDlg
|
||||
ClientWidth = 700
|
||||
Constraints.MinHeight = 500
|
||||
Constraints.MinWidth = 462
|
||||
OnClose = FormClose
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
OnShow = FormShow
|
||||
|
@ -49,7 +49,7 @@ uses
|
||||
InterfaceBase, Themes, ComCtrls, CheckLst, Menus,
|
||||
DefineTemplates, Laz_XMLCfg, DividerBevel,
|
||||
LazarusIDEStrConsts, TransferMacros, LazIDEIntf, LazConf, IDEProcs, DialogProcs,
|
||||
IDEMsgIntf, IDEContextHelpEdit, IDEImagesIntf, MainBar,
|
||||
IDEMsgIntf, IDEContextHelpEdit, IDEImagesIntf, IDEWindowIntf, MainBar,
|
||||
InputHistory, ExtToolDialog, ExtToolEditDlg, EnvironmentOpts,
|
||||
{$IFDEF win32}
|
||||
CodeToolManager, // added for windres workaround
|
||||
@ -112,6 +112,7 @@ type
|
||||
procedure CompileAdvancedButtonClick(Sender: TObject);
|
||||
procedure CompileButtonClick(Sender: TObject);
|
||||
procedure DefinesButtonClick(Sender: TObject);
|
||||
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
|
||||
procedure FormCreate(Sender: TObject);
|
||||
procedure FormDestroy(Sender: TObject);
|
||||
procedure FormShow(Sender: TObject);
|
||||
@ -726,6 +727,8 @@ procedure TConfigureBuildLazarusDlg.FormCreate(Sender: TObject);
|
||||
var
|
||||
LCLInterface: TLCLPlatform;
|
||||
begin
|
||||
IDEDialogLayoutList.ApplyLayout(Self,700,529);
|
||||
|
||||
Caption := Format(lisConfigureBuildLazarus, ['"', '"']);
|
||||
|
||||
MakeModeListHeader.Images := IDEImages.Images_16;
|
||||
@ -1194,6 +1197,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TConfigureBuildLazarusDlg.FormClose(Sender: TObject; var CloseAction:
|
||||
TCloseAction);
|
||||
begin
|
||||
IDEDialogLayoutList.SaveLayout(Self);
|
||||
end;
|
||||
|
||||
procedure TConfigureBuildLazarusDlg.BuildProfileButtonClick(Sender: TObject);
|
||||
var
|
||||
Frm: TBuildProfileManagerForm;
|
||||
|
Loading…
Reference in New Issue
Block a user