Tabbar style improvement
This commit is contained in:
parent
adb0644674
commit
801bfcaab5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user