From 7e7c616d52efc5aba0624eff001f02a6b4940401 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 6 Sep 2008 08:13:47 +0000 Subject: [PATCH] IDE: using designtime size for defaults git-svn-id: trunk@16448 - --- ide/compileroptionsdlg.pp | 2 +- ide/editoroptions.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ide/compileroptionsdlg.pp b/ide/compileroptionsdlg.pp index d4010a7047..2bc4c981ba 100644 --- a/ide/compileroptionsdlg.pp +++ b/ide/compileroptionsdlg.pp @@ -364,7 +364,7 @@ begin inherited Create(TheOwner); Caption := dlgCompilerOptions; - IDEDialogLayoutList.ApplyLayout(Self,550,450); + IDEDialogLayoutList.ApplyLayout(Self,Width,Height); ImageIndexPackage := IDEImages.LoadImage(16, 'item_package'); ImageIndexRequired := IDEImages.LoadImage(16, 'pkg_required'); diff --git a/ide/editoroptions.pp b/ide/editoroptions.pp index 445e1e669a..c43fd1ac74 100644 --- a/ide/editoroptions.pp +++ b/ide/editoroptions.pp @@ -2467,7 +2467,7 @@ begin KeyMapNameFilter:=''; KeyMapKeyFilter:=CleanIDEShortCut; - IDEDialogLayoutList.ApplyLayout(Self, 480, 480); + IDEDialogLayoutList.ApplyLayout(Self, Width,Height); SetupGeneralPage(0); SetupDisplayPage(1);