diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index c7104fcdb..49c32d08d 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -100,7 +100,7 @@ namespace Terminal.Gui { /// frames for the vies that use . /// /// - public partial class View : Responder, ISupportInitializeNotification { + public class View : Responder, ISupportInitializeNotification { internal enum Direction { Forward, diff --git a/Terminal.Gui/Core/View2.cs b/Terminal.Gui/Core/View2.cs new file mode 100644 index 000000000..a21ec916c --- /dev/null +++ b/Terminal.Gui/Core/View2.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using NStack; + +namespace Terminal.Gui { + + public class View2 : View, ISupportInitializeNotification { + public Thickness Margin { get; set; } + + void DrawThickness (Thickness thickness) + { + + } + + public override void Redraw (Rect bounds) + { + base.Redraw (bounds); + + DrawThickness (Margin); + } + + + } +}