LCL: TTreeView: fixed inplace editor position from Vladimir Zhirov, bug #13037

git-svn-id: trunk@18410 -
This commit is contained in:
mattias 2009-01-24 14:45:59 +00:00
parent 50714a86e0
commit 17299353b0

View File

@ -2886,7 +2886,7 @@ begin
ARect:=Rect(Max(BorderWidth,Node.DisplayTextLeft),Node.Top-ScrolledTop,
ClientWidth-BorderWidth,Node.Bottom-ScrolledTop);
FEditor.BoundsRect:=ARect;
FEditor.AnchorParallel(akLeft,BorderWidth,Self);
FEditor.AnchorParallel(akLeft,ARect.Left,Self);
FEditor.AnchorParallel(akRight,BorderWidth,Self);
FEditor.Visible:=true;
FEditor.Parent:=Self;