Skip to content
Permalink
Browse files

[themes] Fix tab widget's panel missing border for non selected tabs

  • Loading branch information
nirvn committed Jun 11, 2020
1 parent 11f6ed7 commit 332f16a74de9c264f47165b1c6bf2fe2451eeebe
Showing with 14 additions and 2 deletions.
  1. +7 −1 resources/themes/Blend of Gray/style.qss
  2. +7 −1 resources/themes/Night Mapping/style.qss
@@ -520,11 +520,15 @@ QTabWidget::pane {
top:-1px;
}

QTabWidget[tabPosition="0"] QTabBar {
border-bottom: 1px solid @itemdarkbackground;
}

QTabBar::tab {
color: @text;
border: 1px solid @itemdarkbackground;
border-bottom: none;
background-color: @background;
background-color: transparent;
padding-left: 0.8em;
padding-right: 0.8em;
padding-top: 0.1em;
@@ -559,6 +563,7 @@ QTabBar::tab:!selected
QTabBar::tab:selected
{
margin-bottom: 0px;
background-color: @background;
}

QTabBar::tab:bottom:!selected
@@ -570,6 +575,7 @@ QTabBar::tab:bottom:!selected
QTabBar::tab:bottom:selected
{
margin-top: 0px;
background-color: @background;
}

QGroupBox::indicator:hover,
@@ -530,11 +530,15 @@ QTabWidget::pane {
top:-1px;
}

QTabWidget[tabPosition="0"] QTabBar {
border-bottom: 1px solid @itemdarkbackground;
}

QTabBar::tab {
color: @text;
border: 1px solid @itemdarkbackground;
border-bottom: none;
background-color: @background;
background-color: transparent;
padding-left: 0.8em;
padding-right: 0.8em;
padding-top: 0.1em;
@@ -569,6 +573,7 @@ QTabBar::tab:!selected
QTabBar::tab:selected
{
margin-bottom: 0px;
background-color: @background;
}

QTabBar::tab:bottom:!selected
@@ -580,6 +585,7 @@ QTabBar::tab:bottom:!selected
QTabBar::tab:bottom:selected
{
margin-top: 0px;
background-color: @background;
}

QGroupBox::indicator:hover,

0 comments on commit 332f16a

Please sign in to comment.
You can’t perform that action at this time.