From 801bfcaab51db2ed2674449589ccd493e3cea8f2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 27 Jan 2014 23:12:43 +0100 Subject: [PATCH] Tabbar style improvement --- qutebrowser/widgets/tabbar.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qutebrowser/widgets/tabbar.py b/qutebrowser/widgets/tabbar.py index 541fd9578..2184e0533 100644 --- a/qutebrowser/widgets/tabbar.py +++ b/qutebrowser/widgets/tabbar.py @@ -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; }