Skip to content

Commit

Permalink
Allow resize and add autosize to the filter box (close zarunbal#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Feb 24, 2021
1 parent b800041 commit 50f14ab
Show file tree
Hide file tree
Showing 6 changed files with 1,280 additions and 1,152 deletions.
5 changes: 3 additions & 2 deletions src/LogExpert/Controls/LogWindow/LogWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ public LogWindow(LogTabWindow parent, string fileName, bool isTempFile,
filterComboBox.Items.Add(item);
}

filterComboBox.DropDownHeight = filterComboBox.ItemHeight * ConfigManager.Settings.preferences.maximumFilterEntriesDisplayed;

filterComboBox.DropDownHeight = filterComboBox.ItemHeight * ConfigManager.Settings.preferences.maximumFilterEntriesDisplayed;
AutoResizeFilterBox();

filterRegexCheckBox.Checked = filterParams.isRegex;
filterCaseSensitiveCheckBox.Checked = filterParams.isCaseSensitive;
filterTailCheckBox.Checked = filterParams.isFilterTail;
Expand Down
Loading

0 comments on commit 50f14ab

Please sign in to comment.