From 8c6837cc15284a2fb673f6c1762649bb2ced5450 Mon Sep 17 00:00:00 2001 From: forbes Date: Thu, 29 Jan 2026 07:45:25 -0600 Subject: [PATCH] Fix UI theme padding and clipping issues - Increase min-height and padding on QDockWidget::title to prevent header text clipping - Increase min-height and padding on QSint--ActionGroup QToolButton for task panel headers - Add specific styling for spreadsheet cell editor with reduced padding for better text visibility --- src/Gui/Stylesheets/KindredCreate.qss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/Gui/Stylesheets/KindredCreate.qss b/src/Gui/Stylesheets/KindredCreate.qss index 6ce5343d31..d87bd861c1 100644 --- a/src/Gui/Stylesheets/KindredCreate.qss +++ b/src/Gui/Stylesheets/KindredCreate.qss @@ -247,8 +247,9 @@ QDockWidget { QDockWidget::title { background-color: #181825; color: #cdd6f4; - padding: 6px; + padding: 8px 6px; border-bottom: 1px solid #313244; + min-height: 18px; } QDockWidget::close-button, @@ -1103,7 +1104,8 @@ QSint--ActionGroup QToolButton { color: #cdd6f4; border: none; border-radius: 4px; - padding: 6px; + padding: 8px 6px; + min-height: 18px; } QSint--ActionGroup QToolButton:hover { @@ -1151,6 +1153,16 @@ SpreadsheetGui--SheetTableView QHeaderView::section { padding: 4px; } +/* Spreadsheet cell editor - reduce padding for better text visibility */ +SpreadsheetGui--SheetTableView QLineEdit { + background-color: #313244; + color: #cdd6f4; + border: 1px solid #cba6f7; + border-radius: 0px; + padding: 1px 2px; + margin: 0px; +} + /* Python Console */ Gui--PythonConsole { background-color: #11111b;