LCL: Revert an experimental change from r49534 #091dff42fb. Caused an eternal loop in layout code.

git-svn-id: trunk@49542 -
This commit is contained in:
juha 2015-07-14 09:39:04 +00:00
parent 0a78d2b1ae
commit f53444d668

View File

@ -3174,7 +3174,7 @@ begin
ParentClientWidth:=r.Right;
ParentClientHeight:=r.Bottom;
//if NeedAlignWork then
if NeedAlignWork then
begin
//DebugLn(['TWinControl.AlignControls ',DbgSName(Self),' RemainingClientRect=',dbgs(RemainingClientRect),' ',dbgs(ClientRect)]);
RemainingBorderSpace:=Rect(0,0,0,0);