Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2010-06-08 15:20:42 -0400
committermkersten2010-06-08 15:20:42 -0400
commit51a1b928200845b4638cb35d44b78e05df0f7078 (patch)
treee001e6069822f5cc1312b7de659edddb0f9e48dc /org.eclipse.mylyn.tasks.ui
parent92c3e14e1b36e450cd3b44d4894e8b6872494e81 (diff)
downloadorg.eclipse.mylyn.tasks-51a1b928200845b4638cb35d44b78e05df0f7078.tar.gz
org.eclipse.mylyn.tasks-51a1b928200845b4638cb35d44b78e05df0f7078.tar.xz
org.eclipse.mylyn.tasks-51a1b928200845b4638cb35d44b78e05df0f7078.zip
RESOLVED - bug 316174: improve Task List category gradient rendering on Windows 7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316174
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/GradientDrawer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/GradientDrawer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/GradientDrawer.java
index bf4905f12..79d01c99d 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/GradientDrawer.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/GradientDrawer.java
@@ -176,9 +176,9 @@ public class GradientDrawer {
double GRADIENT_BOTTOM;// = .995;// 1.035;
// Constants to darken or lighten the default gradients
- if ("Windows 7".equals(System.getProperty("os.name"))) {
+ if ("Windows 7".equals(System.getProperty("os.name"))) { //$NON-NLS-1$//$NON-NLS-2$
GRADIENT_TOP = 1.05;
- GRADIENT_BOTTOM = 1.13;
+ GRADIENT_BOTTOM = 1.09;
} else {
GRADIENT_TOP = 1.05;
GRADIENT_BOTTOM = .995;

Back to the top