Code/Framework/AzQtComponents/AzQtComponents/Components/DockTabBar.cpp
void DockTabBar::currentIndexChanged(int current)
    {
        Q_UNUSED(current);

        resizeEvent(nullptr);
    }
/**
     * When our tab index changes, we need to force a resize event to trigger a layout change, since the tabSizeHint needs
     * to be updated because we only show the close button on the active tab
     */
When our tab index changes, we need to force a resize event to trigger a layout change, since the tabSizeHint needs
to be updated because we only show the close button on the active tab
When our tab index changes we need to force a resize event to trigger a layout change since the tabSizeHint needs to be updated because we only show the close button on the active tab
void DockTabBar::currentIndexChanged(int current)
    {
        Q_UNUSED(current);
        resizeEvent(nullptr);
    }
void DockTabBar :: currentIndexChanged ( int current ) { Q_UNUSED ( current ) ; resizeEvent ( nullptr ) ; }
When our tab index changes, we need to force a resize event to trigger a layout change, since the tabSizeHint needs
 to be updated because we only show the close button on the active tab
When our tab index changes we need to force a resize event to trigger a layout change since the tabSizeHint needs to be updated because we only show the close button on the active tab