From 48f5cc9311086560c5e2ddcfce5185c56cbf74dc Mon Sep 17 00:00:00 2001 From: forbes Date: Sat, 14 Feb 2026 13:15:33 -0600 Subject: [PATCH] fix: standardize panel heading styles and prevent clipping (#198, #199) - QDockWidget::title: add font-weight bold and text-align left to match ActionGroup header style - ActionLabel header: add min-width 0 to prevent title clipping in narrow panels Applied to both src/Gui/Stylesheets and resources/preferences copies. --- resources/preferences/KindredCreate/KindredCreate.qss | 7 +++++++ src/Gui/Stylesheets/KindredCreate.qss | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/resources/preferences/KindredCreate/KindredCreate.qss b/resources/preferences/KindredCreate/KindredCreate.qss index e96a6fc061..3e0a8f37c5 100644 --- a/resources/preferences/KindredCreate/KindredCreate.qss +++ b/resources/preferences/KindredCreate/KindredCreate.qss @@ -247,6 +247,8 @@ QDockWidget { QDockWidget::title { background-color: #181825; color: #cdd6f4; + font-weight: bold; + text-align: left; padding: 8px 6px; border-bottom: 1px solid #313244; min-height: 18px; @@ -1129,6 +1131,11 @@ QSint--ActionGroup QFrame { border-radius: 4px; } +QSint--ActionGroup QSint--ActionLabel[class="header"] { + color: #cdd6f4; + min-width: 0; +} + /* Input Field */ Gui--InputField { background-color: #313244; diff --git a/src/Gui/Stylesheets/KindredCreate.qss b/src/Gui/Stylesheets/KindredCreate.qss index 83eb1279b7..587b83085d 100644 --- a/src/Gui/Stylesheets/KindredCreate.qss +++ b/src/Gui/Stylesheets/KindredCreate.qss @@ -247,6 +247,8 @@ QDockWidget { QDockWidget::title { background-color: #181825; color: #cdd6f4; + font-weight: bold; + text-align: left; padding: 8px 6px; border-bottom: 1px solid #313244; min-height: 18px; @@ -1244,6 +1246,11 @@ QSint--ActionGroup QFrame { border-radius: 4px; } +QSint--ActionGroup QSint--ActionLabel[class="header"] { + color: #cdd6f4; + min-width: 0; +} + /* Input Field */ Gui--InputField { background-color: #313244;