diff --git a/src/lib/tools/combotabbar.cpp b/src/lib/tools/combotabbar.cpp index 42f7f4d52..f8ad9e8e3 100644 --- a/src/lib/tools/combotabbar.cpp +++ b/src/lib/tools/combotabbar.cpp @@ -477,7 +477,7 @@ void ComboTabBar::setMouseTracking(bool enable) void ComboTabBar::setUpLayout() { - int height = m_mainTabBar->height(); + int height = qMax(m_mainTabBar->height(), m_pinnedTabBar->height()); // Workaround for Oxygen theme. For some reason, m_mainTabBar->height() returns bigger // height than it actually is.