Keep full menu size even when list shrinks due to searching

This commit is contained in:
Peter Kirmeier 2023-08-12 18:54:17 +02:00
parent 99809408b9
commit 9aa1200b63

View file

@ -977,12 +977,10 @@ namespace SystemTrayMenu.UserInterface
}
else
{
SizeToContent = SizeToContent.Height;
SizeToContent = SizeToContent.Manual;
view.Filter = (object item) => Filter_ByUserPattern((RowData)item, userPattern);
}
//UpdateCounts(view);
SearchTextChanged?.Invoke(this, string.IsNullOrEmpty(userPattern), causedByWatcherUpdate);
}