Browse Source

Differentiate list color from search

Ross Ferguson 5 years ago
parent
commit
b76dcac9c0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Terminal.Gui/Views/ComboBox.cs

+ 2 - 1
Terminal.Gui/Views/ComboBox.cs

@@ -52,7 +52,7 @@ namespace Terminal.Gui {
 			listview = new ListView(new Rect(x, y + 1, w, 0), listsource.ToList())
 			{
 				LayoutStyle = LayoutStyle.Computed,
-				ColorScheme = Colors.Dialog
+				ColorScheme = Colors.Menu
 			};
 			listview.SelectedChanged += (object sender, ListViewItemEventArgs e) => {
 				if(searchset.Count > 0)
@@ -109,6 +109,7 @@ namespace Terminal.Gui {
 
 				SetValue( searchset [listview.SelectedItem]);
 				search.CursorPosition = search.Text.Length;
+				Search_Changed (search, search.Text);
 				Changed?.Invoke (this, text);
 
 				searchset.Clear();