diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 81420b490..796701168 100644 --- a/Terminal.Gui/Core/View.cs +++ b/Terminal.Gui/Core/View.cs @@ -285,8 +285,8 @@ namespace Terminal.Gui { } } - Pos x = Pos.At (0); - Pos y = Pos.At (0); + Pos x, y; + /// /// Gets or sets the X position for the view (the column). Only used whe is . /// @@ -383,6 +383,8 @@ namespace Terminal.Gui { { CanFocus = false; LayoutStyle = LayoutStyle.Computed; + x = Pos.At (0); + y = Pos.At (0); Height = 0; Width = 0; }