mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 21:19:18 +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,
|
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(akRight,BorderWidth,Self);
|
||||||
FEditor.Visible:=true;
|
FEditor.Visible:=true;
|
||||||
FEditor.Parent:=Self;
|
FEditor.Parent:=Self;
|
||||||
FEditor.Text:=Node.Text;
|
FEditor.Text:=Node.Text;
|
||||||
|
Loading…
Reference in New Issue
Block a user