diff --git a/Terminal.Gui/Views/TabView/TabRowView.cs b/Terminal.Gui/Views/TabView/TabRowView.cs index 60bfbba55..b1ec596ec 100644 --- a/Terminal.Gui/Views/TabView/TabRowView.cs +++ b/Terminal.Gui/Views/TabView/TabRowView.cs @@ -113,17 +113,14 @@ internal class TabRowView : View base.OnHasFocusChanged (newHasFocus, previousFocusedView, focusedView); } - /// + /// protected override void OnSubviewLayout (LayoutEventArgs args) { - if (NeedsLayout) - { - _host._tabLocations = _host.CalculateViewport (Viewport).ToArray (); + _host._tabLocations = _host.CalculateViewport (Viewport).ToArray (); - RenderTabLine (); + RenderTabLine (); - RenderUnderline (); - } + RenderUnderline (); base.OnSubviewLayout (args); }