Explorar o código

Moved to the end.

BDisp %!s(int64=5) %!d(string=hai) anos
pai
achega
a62ce82cc7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Terminal.Gui/Core/View.cs

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

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