Browse Source

Fixes #3702. Manipulating Adornment doesn't always cause LayoutSubviews.

BDisp 11 months ago
parent
commit
949668cab7
1 changed files with 5 additions and 0 deletions
  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.Frame.Size);
+                }
+
                 for (var i = 0; i < notDependentSubViews.Count; i++)
                 {
                     View v = notDependentSubViews [i];