@@ -14,14 +14,14 @@ public class LineView : View
switch (orientation)
{
case Orientation.Horizontal:
- Height = 1;
+ Height = 1; // BUGBUG: Views should avoid setting Height as doing so implies Frame.Size == ContentSize
Width = Dim.Fill ();
LineRune = Glyphs.HLine;
break;
case Orientation.Vertical:
Height = Dim.Fill ();
- Width = 1;
+ Width = 1; // BUGBUG: Views should avoid setting Height as doing so implies Frame.Size == ContentSize
LineRune = Glyphs.VLine;
@@ -256,7 +256,7 @@ public class MenuBar : View
X = 0;
Y = 0;
Menus = new MenuBarItem [] { };
//CanFocus = true;
@@ -28,8 +28,8 @@ public class SpinnerView : View
/// <summary>Creates a new instance of the <see cref="SpinnerView"/> class.</summary>
public SpinnerView ()
_delay = DEFAULT_DELAY;
_bounce = false;
SpinReverse = false;
@@ -93,7 +93,7 @@ public class StatusBar : View
Y = Pos.AnchorEnd (1);
AddCommand (Command.Accept, InvokeItem);
}
@@ -564,7 +564,7 @@ public class TabView : View
_host = host;
CanFocus = true;
_rightScrollIndicator = new View
@@ -1864,7 +1864,7 @@ public class TextField : View
// Don't let height > 1
if (Frame.Height > 1)
@@ -397,7 +397,7 @@ namespace Terminal.Gui
/// </summary>
public TextValidateField ()
// Things this view knows how to do
@@ -2703,7 +2703,7 @@ public class TextView : View
//if (LayoutStyle == LayoutStyle.Computed) {
// LayoutStyle = LayoutStyle.Absolute;
//}
//LayoutStyle = prevLayoutStyle;
if (!IsInitialized)