소스 검색

Use GetContentSize instead of Fame.

BDisp 11 달 전
부모
커밋
6507b1078b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Terminal.Gui/View/Layout/DimAuto.cs

+ 1 - 1
Terminal.Gui/View/Layout/DimAuto.cs

@@ -155,7 +155,7 @@ public record DimAuto (Dim? MaximumContentDim, Dim? MinimumContentDim, DimAutoSt
 
                 foreach (View notDependentSubView in notDependentSubViews)
                 {
-                    notDependentSubView.SetRelativeLayout (us.Frame.Size);
+                    notDependentSubView.SetRelativeLayout (us.GetContentSize ());
                 }
 
                 for (var i = 0; i < notDependentSubViews.Count; i++)