mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-02 01:57:23 +13:00
Keep full menu size even when list shrinks due to searching
This commit is contained in:
parent
99809408b9
commit
9aa1200b63
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue