Tabbar style improvement

This commit is contained in:
Florian Bruhin 2014-01-27 23:12:43 +01:00
parent adb0644674
commit 801bfcaab5

View File

@ -4,6 +4,9 @@ from PyQt5.QtCore import Qt
class TabWidget(QTabWidget):
"""The tabwidget used for TabbedBrowser"""
# FIXME there is still some ugly 1px white stripe from somewhere if we do
# background-color: grey for QTabBar...
_stylesheet = """
QTabWidget::pane {
position: absolute;
@ -24,6 +27,10 @@ class TabWidget(QTabWidget):
padding-bottom: 0px;
}
QTabBar::tab:first, QTabBar::tab:middle {
border-right: 1px solid white;
}
QTabBar::tab:selected {
background-color: black;
}