mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:09:15 +02:00
IDE: new form: using default width,height
git-svn-id: trunk@23187 -
This commit is contained in:
parent
2445aea5ec
commit
d63e8ffbd3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user