openoffice-commits mailing list archives

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

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


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

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

    Get rid of gradients (Windows 7 style?) in sidebar
    
    (cherry picked from commit 5e7464b810ced45749ed5f27500f6c28b33f53d3)
---
 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