mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 18:59:11 +02:00
LCL: TTreeView: fixed inplace editor position from Vladimir Zhirov, bug #13037
git-svn-id: trunk@18410 -
This commit is contained in:
parent
50714a86e0
commit
17299353b0
@ -2886,7 +2886,7 @@ begin
|
|||||||
ARect:=Rect(Max(BorderWidth,Node.DisplayTextLeft),Node.Top-ScrolledTop,
|
ARect:=Rect(Max(BorderWidth,Node.DisplayTextLeft),Node.Top-ScrolledTop,
|
||||||
ClientWidth-BorderWidth,Node.Bottom-ScrolledTop);
|
ClientWidth-BorderWidth,Node.Bottom-ScrolledTop);
|
||||||
FEditor.BoundsRect:=ARect;
|
FEditor.BoundsRect:=ARect;
|
||||||
FEditor.AnchorParallel(akLeft,BorderWidth,Self);
|
FEditor.AnchorParallel(akLeft,ARect.Left,Self);
|
||||||
FEditor.AnchorParallel(akRight,BorderWidth,Self);
|
FEditor.AnchorParallel(akRight,BorderWidth,Self);
|
||||||
FEditor.Visible:=true;
|
FEditor.Visible:=true;
|
||||||
FEditor.Parent:=Self;
|
FEditor.Parent:=Self;
|
||||||
|
Loading…
Reference in New Issue
Block a user