From edeb11e239bbcf567c66de534b739ff76e384c20 Mon Sep 17 00:00:00 2001 From: Tig Date: Wed, 15 May 2024 11:41:15 -0700 Subject: [PATCH] Tweaked validation logic --- Terminal.Gui/View/Layout/ViewLayout.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Terminal.Gui/View/Layout/ViewLayout.cs b/Terminal.Gui/View/Layout/ViewLayout.cs index 1700f09af..b6aaa42d0 100644 --- a/Terminal.Gui/View/Layout/ViewLayout.cs +++ b/Terminal.Gui/View/Layout/ViewLayout.cs @@ -1107,6 +1107,9 @@ public partial class View switch (checkPosDim) { + case Pos pos and PosAnchorEnd: + break; + case Pos pos and not PosAbsolute and not PosView and not PosCombine: bad = pos; @@ -1122,6 +1125,9 @@ public partial class View case Dim dim and DimAuto: break; + case Dim dim and DimFill: + break; + case Dim dim and not DimAbsolute and not DimView and not DimCombine: bad = dim;