diff --git a/modules/juce_gui_basics/layout/juce_TabbedComponent.cpp b/modules/juce_gui_basics/layout/juce_TabbedComponent.cpp index d6b82a2b16..bad3d60e38 100644 --- a/modules/juce_gui_basics/layout/juce_TabbedComponent.cpp +++ b/modules/juce_gui_basics/layout/juce_TabbedComponent.cpp @@ -157,6 +157,7 @@ void TabbedComponent::addTab (const String& tabName, contentComponent->getProperties().set (TabbedComponentHelpers::deleteComponentId, true); tabs->addTab (tabName, tabBackgroundColour, insertIndex); + resized(); } void TabbedComponent::setTabName (const int tabIndex, const String& newName)