diff --git a/Terminal.Gui/Types/PosDim.cs b/Terminal.Gui/Types/PosDim.cs index 2a1cbb6c1..fa4e33ec2 100644 --- a/Terminal.Gui/Types/PosDim.cs +++ b/Terminal.Gui/Types/PosDim.cs @@ -247,7 +247,6 @@ namespace Terminal.Gui { case 1: return Target.Frame.Y; case 2: return Target.Frame.Right; case 3: return Target.Frame.Bottom; - case 4: return Target.Frame.Right - Target.Frame.Left; default: return 0; } @@ -261,7 +260,6 @@ namespace Terminal.Gui { case 1: tside = "y"; break; case 2: tside = "right"; break; case 3: tside = "bottom"; break; - case 4: tside = "width"; break; default: tside = "unknown"; break; } return $"Pos.View(side={tside}, target={Target.ToString()}"; @@ -309,13 +307,6 @@ namespace Terminal.Gui { /// The Position that depends on the other view. /// The view that will be tracked. public static Pos Bottom (View view) => new PosView (view, 3); - - /// - /// Returns a Pos object tracks the Width (Right-Left) of the specified view. - /// - /// The Position that depends on the other view. - /// The view that will be tracked. - public static Pos Width (View view) => new PosView (view, 4); } ///