From a62ce82cc772b0ad4f7c898700ef3136fcb30eb9 Mon Sep 17 00:00:00 2001 From: BDisp Date: Fri, 10 Jul 2020 19:27:28 +0100 Subject: [PATCH] Moved to the end. --- Terminal.Gui/Core/View.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Terminal.Gui/Core/View.cs b/Terminal.Gui/Core/View.cs index 24a2ca606..d6a14e6b7 100644 --- a/Terminal.Gui/Core/View.cs +++ b/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 (); } ///