2
0
Эх сурвалжийг харах

Use GetContentSize instead of Fame.

BDisp 11 сар өмнө
parent
commit
6507b1078b

+ 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++)