1
0
Fork 0

GUI: removed annoying borders (resolves #1373)

This commit is contained in:
mrexodia 2016-12-29 02:12:11 +01:00
parent 5e37953883
commit e46e3cbe62
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,8 @@ MHTabBar::MHTabBar(QWidget* parent, bool allowDetach, bool allowDelete) : QTabBa
setElideMode(Qt::ElideNone);
setSelectionBehaviorOnRemove(QTabBar::SelectLeftTab);
setMovable(true);
setDrawBase(false);
setStyleSheet("QTabBar::tear { width: 0px; border: none; }");
}
//////////////////////////////////////////////////////////////

View File

@ -18,6 +18,7 @@ MHTabWidget::MHTabWidget(QWidget* parent, bool allowDetach, bool allowDelete) :
setTabBar(m_tabBar);
setMovable(true);
setStyleSheet("QTabWidget::pane { border: 0px; }");
m_Windows.clear();
}