From 5c5f4033ff901729049a002c75c1faa4e6f46ebc Mon Sep 17 00:00:00 2001 From: Joel Bethke Date: Sat, 13 Jan 2018 18:22:17 -0600 Subject: [PATCH] UI: Fix tab bars for docked widgets in Dark theme --- UI/data/themes/Dark.qss | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/UI/data/themes/Dark.qss b/UI/data/themes/Dark.qss index 229107a80..4b08da93a 100644 --- a/UI/data/themes/Dark.qss +++ b/UI/data/themes/Dark.qss @@ -231,14 +231,24 @@ QTabWidget::tab-bar { QTabBar::tab { background-color: rgb(88,87,88); /* kindaDark */ border: none; + padding: 5px; + min-width: 50px; + margin: 1px; +} + +QTabBar::tab:top { + border-bottom: 1px transparent; border-top-left-radius: 5px; border-top-right-radius: 5px; - min-width: 8ex; - padding-top: 4px; - padding-bottom: 4px; - padding-left: 10px; - padding-right: 10px; - margin-right: 1px; + +} + +QTabBar::tab:bottom { + padding-top: 1px; + margin-bottom: 4px; + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + height: 14px; } QTabBar::tab:selected { -- GitLab