diff --git a/src/views/tabbar.cpp b/src/views/tabbar.cpp index f79dcff92..0294d5cb0 100644 --- a/src/views/tabbar.cpp +++ b/src/views/tabbar.cpp @@ -191,6 +191,8 @@ TabBar::TabBar(QWidget *parent) : DTabBar(parent), m_rightClickTab(-1) QObject::connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, this, [this](){ setTabHeight(DSizeModeHelper::element(COMMONHEIGHT_COMPACT, COMMONHEIGHT)); }); +#else + setTabHeight(36); #endif }