aDD scroll page tabs ON MACos, Thanks Giovanni

This commit is contained in:
Laurent Trinques
2019-09-08 18:06:52 +02:00
parent 76ba2aa3eb
commit 83eba80445
2 changed files with 53 additions and 0 deletions

View File

@@ -810,7 +810,11 @@ void ProjectView::initWidgets() {
fallback_label_ -> setAlignment(Qt::AlignVCenter | Qt::AlignHCenter);
// initialize tabs
#ifdef Q_OS_MACOS
m_tab = new WheelEnabledTabBar(this);
#else
m_tab = new QTabWidget(this);
#endif
m_tab -> setMovable(true);
QToolButton *add_new_diagram_button = new QToolButton;