Răsfoiți Sursa

Moved to the end.

BDisp 5 ani în urmă
părinte
comite
a62ce82cc7
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      Terminal.Gui/Core/View.cs

+ 2 - 2
Terminal.Gui/Core/View.cs

@@ -666,11 +666,11 @@ namespace Terminal.Gui {
 				CanFocus = true;
 				view.tabIndex = tabIndexes.IndexOf (view);
 			}
+			SetNeedsLayout ();
+			SetNeedsDisplay ();
 			if (IsInitialized) {
 				view.BeginInit ();
 			}
-			SetNeedsLayout ();
-			SetNeedsDisplay ();
 		}
 
 		/// <summary>