From ceb087a4c2e8b3b5f93e889e10e1cdcdfa6dea21 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 7 Jan 2018 18:28:42 +0100 Subject: [PATCH] Fix last cases of wrong tab borders in Windows theme --- themes/windows/main.css | 11 ++++++++++- themes/windows/rtl.css | 10 ++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) 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; +}