diff --git a/Core.cs b/Core.cs index 302c89cb3..1b69173ba 100644 --- a/Core.cs +++ b/Core.cs @@ -800,8 +800,8 @@ namespace Terminal { public Window (Rect frame, string title = null) : base (frame) { this.Title = title; - frame.Inflate (-1, -1); - contentView = new ContentView (frame); + var cFrame = new Rect (1, 1, frame.Width - 2, frame.Height - 2); + contentView = new ContentView (cFrame); base.Add (contentView); } diff --git a/Terminal.csproj b/Terminal.csproj index 55a6a60ee..219382981 100644 --- a/Terminal.csproj +++ b/Terminal.csproj @@ -47,6 +47,7 @@ + diff --git a/Views/Dialog.cs b/Views/Dialog.cs index 3a50325ee..084ec3009 100644 --- a/Views/Dialog.cs +++ b/Views/Dialog.cs @@ -16,6 +16,13 @@ namespace Terminal { public class Dialog : Window { List