Skip to content

Commit f83990f

Browse files
committedMar 12, 2019
[themes] Fix missing visual hint for disabled tabs
1 parent 4b9f4da commit f83990f

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
@@ -468,6 +468,10 @@ QTabBar::tab {
468468
margin-right: -0.05em;
469469
}
470470

471+
QTabBar::tab:disabled {
472+
color: @itemalternativebackground
473+
}
474+
471475
QTabBar::tab:last
472476
{
473477
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

@@ -476,6 +476,10 @@ QTabBar::tab {
476476
margin-right: -0.05em;
477477
}
478478

479+
QTabBar::tab:disabled {
480+
color: @itemdarkbackground;
481+
}
482+
479483
QTabBar::tab:last
480484
{
481485
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.