diff --git a/components/lazcontrols/lvlgraphctrl.pas b/components/lazcontrols/lvlgraphctrl.pas index 86269d7933..5896683a8f 100644 --- a/components/lazcontrols/lvlgraphctrl.pas +++ b/components/lazcontrols/lvlgraphctrl.pas @@ -2639,6 +2639,8 @@ begin FImageChangeLink := TChangeLink.Create; FImageChangeLink.OnChange:=@ImageListChange; ShowHint:=true; + with GetControlClassDefaultSize do + SetInitialBounds(0, 0, CX, CY); end; destructor TCustomLvlGraphControl.Destroy;