mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 19:19:19 +02:00
ide: designer: use mediator default size only if none given
This commit is contained in:
parent
2c5dd45f28
commit
c74b232d9a
@ -1319,7 +1319,9 @@ var
|
||||
if Mediator<>nil then
|
||||
begin
|
||||
NewSize:=Mediator.GetDefaultSize;
|
||||
if NewWidth=0 then
|
||||
NewWidth:=NewSize.X;
|
||||
if NewHeight=0 then
|
||||
NewHeight:=NewSize.Y;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user