mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Better processing of the default handler, still needs to chain to old containers for redraw
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Terminal {
|
||||
public class Dialog : Window {
|
||||
List<Button> buttons = new List<Button> ();
|
||||
|
||||
public Dialog (string title, int width, int height, params Button [] buttons) : base (Application.MakeCenteredRect (new Size (width, height)))
|
||||
public Dialog (string title, int width, int height, params Button [] buttons) : base (Application.MakeCenteredRect (new Size (width, height)), title)
|
||||
{
|
||||
foreach (var b in buttons) {
|
||||
this.buttons.Add (b);
|
||||
|
||||
Reference in New Issue
Block a user