mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 00:20:13 +02:00
LCL: TTreeView: anchor editor control, prevent autosizing
git-svn-id: trunk@18379 -
This commit is contained in:
parent
587cb449f6
commit
fe70d4aaf8
@ -2886,6 +2886,8 @@ 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(akRight,BorderWidth,Self);
|
||||
FEditor.Visible:=true;
|
||||
FEditor.Parent:=Self;
|
||||
FEditor.Text:=Node.Text;
|
||||
|
Loading…
Reference in New Issue
Block a user