Author: nbelaevski
Date: 2008-04-23 13:49:24 -0400 (Wed, 23 Apr 2008)
New Revision: 8099
Modified:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/BaseGradient.java
Log:
BaseGradient updated
Modified:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/BaseGradient.java
===================================================================
---
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/BaseGradient.java 2008-04-23
17:36:29 UTC (rev 8098)
+++
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/BaseGradient.java 2008-04-23
17:49:24 UTC (rev 8099)
@@ -224,6 +224,13 @@
dim.height);
drawGradient(g2d, rect, firstLayer, gradientHeight);
+
+ rect = new Rectangle2D.Float(
+ 0,
+ 0,
+ dim.width,
+ gradientHeight / 2);
+
drawGradient(g2d, rect, secondLayer, gradientHeight / 2);
}
}
Show replies by date