Code/Framework/AzQtComponents/AzQtComponents/Components/DockTabBar.cpp
QSize DockTabBar::sizeHint() const
    {
        if (m_singleTabFillsWidth && count() == 1)
        {
            return TabBar::tabSizeHint(0);
        }

        return TabBar::sizeHint();
    }
/**
     * Handle resizing appropriately when our parent tab widget is resized,
     * otherwise when there is only one tab it won't know to stretch to the
     * full width
     */
Handle resizing appropriately when our parent tab widget is resized,
otherwise when there is only one tab it won't know to stretch to the
full width
Handle resizing appropriately when our parent tab widget is resized otherwise when there is only one tab it won ' t know to stretch to the full width
QSize DockTabBar::sizeHint() const
    {
        if (m_singleTabFillsWidth && count() == 1)
        {
            return TabBar::tabSizeHint(0);
        }
        return TabBar::sizeHint();
    }
QSize DockTabBar :: sizeHint ( ) const { if ( m_singleTabFillsWidth && count ( ) == 1 ) { return TabBar :: tabSizeHint ( 0 ) ; } return TabBar :: sizeHint ( ) ; }
Handle resizing appropriately when our parent tab widget is resized,
 otherwise when there is only one tab it won't know to stretch to the
 full width
Handle resizing appropriately when our parent tab widget is resized otherwise when there is only one tab it won ' t know to stretch to the full width