LCL: disable autosize during ManualDock

git-svn-id: trunk@24755 -
This commit is contained in:
mattias 2010-04-20 19:24:04 +00:00
parent fbf0c73cf8
commit 6e8382eca2

View File

@ -4025,6 +4025,7 @@ var
DockObject: TDragDockObject;
NewPosition: TPoint;
begin
DropControl.DisableAutoSizing;
if (NewDockSite=nil) then begin
// undock / float this control
// float the control at the same screen position
@ -4078,6 +4079,7 @@ begin
end;
end;
end;
DropControl.EnableAutoSizing;
end;
{------------------------------------------------------------------------------