Tig 1 рік тому
батько
коміт
6f3799dd87
1 змінених файлів з 3 додано та 1 видалено
  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)
         {
+            // TODO: Move this logic into the Pos/Dim classes
+
             if (v.Width is Dim.DimAuto || v.Height is Dim.DimAuto)
             {
                 // If the view is auto-sized...
@@ -933,7 +935,7 @@ public partial class View
         OnLayoutComplete (new (ContentSize));
     }
 
-
+    // TODO: Move this logic into the Pos/Dim classes
     /// <summary>
     ///     Throws an <see cref="InvalidOperationException"/> if any SubViews are using Dim objects that depend on this
     ///     Views dimensions.