浏览代码

Merge branch 'v2_develop' into v2_2491-Overlapped

Tig 11 月之前
父节点
当前提交
963fd99e44
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Terminal.Gui/View/Layout/DimAuto.cs

+ 5 - 0
Terminal.Gui/View/Layout/DimAuto.cs

@@ -153,6 +153,11 @@ public record DimAuto (Dim? MaximumContentDim, Dim? MinimumContentDim, DimAutoSt
                                                            .ToList ();
                 }
 
+                foreach (View notDependentSubView in notDependentSubViews)
+                {
+                    notDependentSubView.SetRelativeLayout (us.GetContentSize ());
+                }
+
                 for (var i = 0; i < notDependentSubViews.Count; i++)
                 {
                     View v = notDependentSubViews [i];