Ver Fonte

Tweaked validation logic

Tig há 1 ano atrás
pai
commit
edeb11e239
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 6 - 0
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;