From f5c9277f8f79abc4bc4cf63666794a16a9af2ee6 Mon Sep 17 00:00:00 2001 From: Kacper Donat Date: Sat, 12 Jul 2025 23:49:49 +0200 Subject: [PATCH] Stylesheets: Fix property editor headers --- src/Gui/PreferencePacks/FreeCAD Dark/FreeCAD Dark.cfg | 1 + src/Gui/PreferencePacks/FreeCAD Light/FreeCAD Light.cfg | 1 + src/Gui/Stylesheets/FreeCAD.qss | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Gui/PreferencePacks/FreeCAD Dark/FreeCAD Dark.cfg b/src/Gui/PreferencePacks/FreeCAD Dark/FreeCAD Dark.cfg index 3e1ca8d193..d6d05925ee 100644 --- a/src/Gui/PreferencePacks/FreeCAD Dark/FreeCAD Dark.cfg +++ b/src/Gui/PreferencePacks/FreeCAD Dark/FreeCAD Dark.cfg @@ -121,6 +121,7 @@ @PrimaryColorLighten6 @PrimaryColorDarken3 @PrimaryColorLighten3 + @PrimaryColor @PrimaryColorLighten4 lighten(@GroupboxBackgroundColor,20) images_classic diff --git a/src/Gui/PreferencePacks/FreeCAD Light/FreeCAD Light.cfg b/src/Gui/PreferencePacks/FreeCAD Light/FreeCAD Light.cfg index 32e73153db..5cbfd007a6 100644 --- a/src/Gui/PreferencePacks/FreeCAD Light/FreeCAD Light.cfg +++ b/src/Gui/PreferencePacks/FreeCAD Light/FreeCAD Light.cfg @@ -136,6 +136,7 @@ @PrimaryColorDarken5 @PrimaryColorDarken3 @PrimaryColorDarken4 + @PrimaryColorDarken2 @PrimaryColorLighten2 darken(@GroupboxBackgroundColor,20) images_classic diff --git a/src/Gui/Stylesheets/FreeCAD.qss b/src/Gui/Stylesheets/FreeCAD.qss index d166784a29..3aae692091 100644 --- a/src/Gui/Stylesheets/FreeCAD.qss +++ b/src/Gui/Stylesheets/FreeCAD.qss @@ -91,7 +91,7 @@ Gui--PropertyEditor--PropertyEditor > QWidget > QFrame:focus { background-color: @AccentColor;/* same as focused background color */} /* hack to hide weird redundant information inside cells with links and no editable data (but editable via "..." button) */ Gui--PropertyEditor--PropertyEditor > QWidget > QWidget > QLabel { - background-color: @TextUrlColor;/* same as focused background color */ + background-color: @TextUrlColor;/* same as focused background color */ border-radius: @InputFieldBorderRadius; } @@ -1437,7 +1437,7 @@ Tasks panel (custom FreeCAD class) ==================================================================================================*/ Gui--PropertyEditor--PropertyEditor { qproperty-groupTextColor: @TextForegroundColor; - qproperty-groupBackground: @GeneralAlternateBackgroundColor; + qproperty-groupBackground: @GeneralHeaderBackgroundColor; } /* Action group */