Navigation Menu

Skip to content

Commit

Permalink
[themes] Fix missing visual hint for disabled tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Mar 12, 2019
1 parent 17089bb commit 2bc6b19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions resources/themes/Blend of Gray/style.qss
Expand Up @@ -473,6 +473,10 @@ QTabBar::tab {
margin-right: -0.05em;
}

QTabBar::tab:disabled {
color: @itemalternativebackground
}

QTabBar::tab:last
{
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
Expand Down
6 changes: 5 additions & 1 deletion resources/themes/Night Mapping/style.qss
Expand Up @@ -114,7 +114,7 @@ QMenu::item:checked

QWidget:disabled, QWidget:editable:disabled
{
color: #404040;
color: @itemdarkbackground;
background-color: @background;
}

Expand Down Expand Up @@ -481,6 +481,10 @@ QTabBar::tab {
margin-right: -0.05em;
}

QTabBar::tab:disabled {
color: @itemdarkbackground;
}

QTabBar::tab:last
{
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
Expand Down

0 comments on commit 2bc6b19

Please sign in to comment.