diff --git a/Playground/UTile.pas b/Playground/UTile.pas index 7f68a5c..e12f993 100644 --- a/Playground/UTile.pas +++ b/Playground/UTile.pas @@ -106,7 +106,7 @@ constructor TTile.Create(const AOwner: TComponent; const AParent: TTile; FNode := TYogaNode.Create; FNode.Width := AWidth; - FNode.Height := AWidth; + FNode.Height := AHeight; FNode.Direction := TYogaDirection.LTR; if (AParent <> nil) then