소스 검색

Added TODOs

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.