From a12871e65ec4bfdd2f4035b2b1494fa16bf6f5db Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Fri, 22 May 2020 17:25:13 -0600 Subject: [PATCH] backed out pos.width poc --- Terminal.Gui/Types/PosDim.cs | 9 --------- 1 file changed, 9 deletions(-) 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); } ///