Skip to content
Permalink
Browse files
[themes] Fix glitched rendering of tab bars with a single tab
  • Loading branch information
nirvn authored and nyalldawson committed Dec 20, 2021
1 parent e007a53 commit 668065fd8e7a15be81c8eed66a78907306c8a9d9
Showing with 6 additions and 6 deletions.
  1. +3 −3 resources/themes/Blend of Gray/style.qss
  2. +3 −3 resources/themes/Night Mapping/style.qss
@@ -562,14 +562,14 @@ QTabBar::tab:disabled {
color: @itemalternativebackground
}

QTabBar::tab:last
QTabBar::tab:last, QTabBar::tab::only-one
{
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
margin-right: 0;
}

QTabBar::tab:first:!selected
{
margin-left: 0px; /* the last selected tab has nothing to overlap with on the right */
margin-left: 0px;
}

QTabBar::tab:bottom {
@@ -564,14 +564,14 @@ QTabBar::tab:disabled {
color: @itemdarkbackground;
}

QTabBar::tab:last
QTabBar::tab:last, QTabBar::tab::only-one
{
margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
margin-right: 0;
}

QTabBar::tab:first:!selected
{
margin-left: 0px; /* the last selected tab has nothing to overlap with on the right */
margin-left: 0px;
}

QTabBar::tab:bottom {

0 comments on commit 668065f

Please sign in to comment.