diff --git a/themes/windows/main.css b/themes/windows/main.css index 8d6162c2a..e52de4cf3 100644 --- a/themes/windows/main.css +++ b/themes/windows/main.css @@ -130,7 +130,6 @@ qproperty-fixedsize: 22px 28px; } -/*TabWidget*/ #tabbar { min-height: 30px; @@ -225,6 +224,16 @@ margin-left: 0; } +#tabbar::tab:!selected:only-one +{ + margin-left: 0; +} + +#tabbar::tab:!selected:hover:only-one +{ + margin-left: 0; +} + /*IconProvider*/ IconProvider { diff --git a/themes/windows/rtl.css b/themes/windows/rtl.css index fde964041..5e4f596d0 100644 --- a/themes/windows/rtl.css +++ b/themes/windows/rtl.css @@ -66,3 +66,13 @@ { margin-right: 0; } + +#tabbar::tab:!selected:only-one +{ + margin-right: 0; +} + +#tabbar::tab:!selected:hover:only-one +{ + margin-right: 0; +}