Don't display tab separator if unneeded
This commit is contained in:
parent
bdd6a7ab48
commit
b4aba0d0ee
@ -71,10 +71,17 @@ class TabWidget(QTabWidget):
|
|||||||
QTabBar::tab {{
|
QTabBar::tab {{
|
||||||
{color[tab.bg]}
|
{color[tab.bg]}
|
||||||
{color[tab.fg]}
|
{color[tab.fg]}
|
||||||
border-right: 2px solid {color[tab.seperator]};
|
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
QTabBar::tab:first, QTabBar::tab:middle {{
|
||||||
|
border-right: 2px solid {color[tab.seperator]};
|
||||||
|
}}
|
||||||
|
|
||||||
|
QTabBar::tab:only-one {{
|
||||||
|
border-right: 0px;
|
||||||
|
}}
|
||||||
|
|
||||||
QTabBar::tab:selected {{
|
QTabBar::tab:selected {{
|
||||||
{color[tab.bg.selected]}
|
{color[tab.bg.selected]}
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user