mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
git-svn-id: trunk@6410 -
This commit is contained in:
parent
03a3931754
commit
8360f8642c
@ -26,12 +26,8 @@ begin
|
||||
fCompStyle := csPage;
|
||||
ControlStyle := ControlStyle + [csAcceptsControls,csDesignFixedBounds];
|
||||
|
||||
// set the default height and width
|
||||
if (Owner<>nil) and (Owner is TControl) then begin
|
||||
Align:=alClient;
|
||||
end else begin
|
||||
SetInitialBounds(0,0,120,100);
|
||||
end;
|
||||
// height and width dependent on parent, align to client rect
|
||||
Align := alClient;
|
||||
Caption := '';
|
||||
Visible := false;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user