Object Inspector: Allow AutoSize for the property FilterEdit. Issue #31474.

git-svn-id: trunk@54347 -
This commit is contained in:
juha 2017-03-05 12:55:06 +00:00
parent de14358d4b
commit d53f65cba4

View File

@ -4345,8 +4345,8 @@ begin
Visible := True;
end;
PropFilterLabel := TLabel.Create(self);
PropFilterEdit:= TListFilterEdit.Create(self);
PropFilterLabel := TLabel.Create(Self);
PropFilterEdit:= TListFilterEdit.Create(Self);
with PropFilterLabel do
begin
Parent := PropertyPanel;
@ -4364,11 +4364,8 @@ begin
AnchorSideLeft.Side := asrBottom;
AnchorSideTop.Control := PropFilterLabel;
AnchorSideTop.Side := asrCenter;
Left := ScaleCoord96(61);
Top := ScaleCoord96(3);
Width := PropertyPanel.Width - ( Left + 3);
AutoSelect := False;
AutoSize:=False;
ButtonWidth := ScaleCoord96(23);
Anchors := [akTop, akLeft, akRight];
BorderSpacing.Left := 5;