Skip to content

Commit 2bc6b19

Browse files
committedMar 12, 2019
[themes] Fix missing visual hint for disabled tabs
1 parent 17089bb commit 2bc6b19

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎resources/themes/Blend of Gray/style.qss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,10 @@ QTabBar::tab {
473473
margin-right: -0.05em;
474474
}
475475

476+
QTabBar::tab:disabled {
477+
color: @itemalternativebackground
478+
}
479+
476480
QTabBar::tab:last
477481
{
478482
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */

‎resources/themes/Night Mapping/style.qss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ QMenu::item:checked
114114

115115
QWidget:disabled, QWidget:editable:disabled
116116
{
117-
color: #404040;
117+
color: @itemdarkbackground;
118118
background-color: @background;
119119
}
120120

@@ -481,6 +481,10 @@ QTabBar::tab {
481481
margin-right: -0.05em;
482482
}
483483

484+
QTabBar::tab:disabled {
485+
color: @itemdarkbackground;
486+
}
487+
484488
QTabBar::tab:last
485489
{
486490
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */

0 commit comments

Comments
 (0)
Please sign in to comment.