openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msei...@apache.org
Subject [openoffice] branch trunk updated: Get rid of gradients (Windows 7 style?) in sidebar
Date Fri, 09 Aug 2019 15:42:05 GMT
This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5e7464b  Get rid of gradients (Windows 7 style?) in sidebar
5e7464b is described below

commit 5e7464b810ced45749ed5f27500f6c28b33f53d3
Author: mseidel <mseidel@apache.org>
AuthorDate: Fri Aug 9 17:41:27 2019 +0200

    Get rid of gradients (Windows 7 style?) in sidebar
---
 main/sfx2/source/sidebar/Theme.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/sfx2/source/sidebar/Theme.cxx b/main/sfx2/source/sidebar/Theme.cxx
index e20499d..7ae828a 100644
--- a/main/sfx2/source/sidebar/Theme.cxx
+++ b/main/sfx2/source/sidebar/Theme.cxx
@@ -196,9 +196,9 @@ void Theme::UpdateTheme (void)
 		// UX says this should be a little brighter, but that looks off when compared to the other
windows.
 		//aBaseBackgroundColor.IncreaseLuminance(7);
 		Color aBorderColor (aBaseBackgroundColor);
-		aBorderColor.DecreaseLuminance(15);
+		aBorderColor.DecreaseLuminance(80);
 		Color aSecondColor (aBaseBackgroundColor);
-		aSecondColor.DecreaseLuminance(15);
+		aSecondColor.DecreaseLuminance(0);
 
 		setPropertyValue(
 			maPropertyIdToNameMap[Paint_DeckBackground],
@@ -404,7 +404,7 @@ void Theme::UpdateTheme (void)
 		Color aGradientStop2 (aBaseBackgroundColor);
 		aGradientStop2.IncreaseLuminance(17);
 		Color aToolBoxBorderColor (aBaseBackgroundColor);
-		aToolBoxBorderColor.DecreaseLuminance(12);
+		aToolBoxBorderColor.DecreaseLuminance(25);
 		setPropertyValue(
 			maPropertyIdToNameMap[Paint_ToolBoxBackground],
 			Any(Tools::VclToAwtGradient(Gradient(


Mime
View raw message