@@ -285,8 +285,8 @@ namespace Terminal.Gui {
}
- Pos x = Pos.At (0);
- Pos y = Pos.At (0);
+ Pos x, y;
+
/// <summary>
/// Gets or sets the X position for the view (the column). Only used whe <see cref="LayoutStyle"/> is <see cref="LayoutStyle.Computed"/>.
/// </summary>
@@ -383,6 +383,8 @@ namespace Terminal.Gui {
{
CanFocus = false;
LayoutStyle = LayoutStyle.Computed;
+ x = Pos.At (0);
+ y = Pos.At (0);
Height = 0;
Width = 0;