Skip to content

Commit

Permalink
[themes] Fix tab widget's panel missing border for non selected tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jun 11, 2020
1 parent 11f6ed7 commit 332f16a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion resources/themes/Blend of Gray/style.qss
Expand Up @@ -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;
Expand Down Expand Up @@ -559,6 +563,7 @@ QTabBar::tab:!selected
QTabBar::tab:selected
{
margin-bottom: 0px;
background-color: @background;
}

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

QGroupBox::indicator:hover,
Expand Down
8 changes: 7 additions & 1 deletion resources/themes/Night Mapping/style.qss
Expand Up @@ -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;
Expand Down Expand Up @@ -569,6 +573,7 @@ QTabBar::tab:!selected
QTabBar::tab:selected
{
margin-bottom: 0px;
background-color: @background;
}

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

QGroupBox::indicator:hover,
Expand Down

0 comments on commit 332f16a

Please sign in to comment.