mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
ComboBox: Refactor. Resize Width working
This commit is contained in:
@@ -435,7 +435,7 @@ static class Demo {
|
||||
}
|
||||
var list = new ComboBox () { X = 0, Y = 0, Width = 36, Height = 7 };
|
||||
list.SetSource(items.ToList());
|
||||
list.Changed += (object sender, ustring text) => { Application.RequestStop (); };
|
||||
list.SelectedItemChanged += (object sender, ustring text) => { Application.RequestStop (); };
|
||||
|
||||
var d = new Dialog ("Select source file", 40, 12) { list };
|
||||
Application.Run (d);
|
||||
|
||||
Reference in New Issue
Block a user