Tig 1 rok temu
rodzic
commit
6f3799dd87
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 3 - 1
Terminal.Gui/View/Layout/ViewLayout.cs

@@ -898,6 +898,8 @@ public partial class View
 
 
         foreach (View v in ordered)
         foreach (View v in ordered)
         {
         {
+            // TODO: Move this logic into the Pos/Dim classes
+
             if (v.Width is Dim.DimAuto || v.Height is Dim.DimAuto)
             if (v.Width is Dim.DimAuto || v.Height is Dim.DimAuto)
             {
             {
                 // If the view is auto-sized...
                 // If the view is auto-sized...
@@ -933,7 +935,7 @@ public partial class View
         OnLayoutComplete (new (ContentSize));
         OnLayoutComplete (new (ContentSize));
     }
     }
 
 
-
+    // TODO: Move this logic into the Pos/Dim classes
     /// <summary>
     /// <summary>
     ///     Throws an <see cref="InvalidOperationException"/> if any SubViews are using Dim objects that depend on this
     ///     Throws an <see cref="InvalidOperationException"/> if any SubViews are using Dim objects that depend on this
     ///     Views dimensions.
     ///     Views dimensions.