|
@@ -1,5 +1,5 @@
|
|
|
{
|
|
|
- Copyright (C) 2022 Mattias Gaertner [email protected]
|
|
|
+ Copyright (C) 2024 Mattias Gaertner [email protected]
|
|
|
|
|
|
*****************************************************************************
|
|
|
This file is part of the Fresnel project.
|
|
@@ -212,7 +212,7 @@ begin
|
|
|
//debugln(['TFresnelFormMediator.SetBounds ',DbgSName(AComponent),' ',dbgs(NewBounds)]);
|
|
|
if AComponent=FDsgnForm then
|
|
|
begin
|
|
|
- FDsgnForm.FormBounds:=TFresnelRect.Create(NewBounds);
|
|
|
+ FDsgnForm.WSResize(TFresnelRect.Create(NewBounds),NewBounds.Width,NewBounds.Height);
|
|
|
end else if AComponent is TFresnelElement then
|
|
|
begin
|
|
|
// bounds are controlled by CSS
|