IDE: new form: using default width,height

git-svn-id: trunk@23187 -
This commit is contained in:
mattias 2009-12-18 15:03:50 +00:00
parent 2445aea5ec
commit d63e8ffbd3

View File

@ -4382,7 +4382,7 @@ begin
// create jit component
CInterface := TComponentInterface(
FormEditor1.CreateComponent(nil,TComponentClass(AncestorType),
NewUnitInfo.CreateUnitName, new_x, new_y, 400,300));
NewUnitInfo.CreateUnitName, new_x, new_y, 0,0));
if CInterface=nil then begin
DebugLn(['TMainIDE.CreateNewForm FormEditor1.CreateComponent failed ',dbgsName(TComponentClass(AncestorType))]);
exit(mrCancel);