-
Enhancement
-
Resolution: Fixed
-
P3
-
6
-
b48
-
x86
-
windows_xp
When several painters are defined for the same method and the same direction, Synth takes only the last one. For instance:
<style id="scrollBarThumbStyle">
<imagePainter method="scrollBarThumbBackground" direction="horizontal" path="images/scrollBar-thumb-horizontal.png" sourceInsets="1 2 1 2" />
<imagePainter method="scrollBarThumbBackground" direction="horizontal" path="images/scrollBar-thumb-horizontal-grip.png" center="true" />
</style>
<bind style="scrollBarThumbStyle" type="REGION" key="ScrollBarThumb"/>
In this example only the second <imagePainter /> is used by Synth. Both should be used and drawn in the same order of declaration.
###@###.### 2005-06-01 00:01:46 GMT
Regression test is failing in PIT build
javax/swing/plaf/synth/6278565/bug6278565.java: Tests multi-layered painting in styles. fails
<style id="scrollBarThumbStyle">
<imagePainter method="scrollBarThumbBackground" direction="horizontal" path="images/scrollBar-thumb-horizontal.png" sourceInsets="1 2 1 2" />
<imagePainter method="scrollBarThumbBackground" direction="horizontal" path="images/scrollBar-thumb-horizontal-grip.png" center="true" />
</style>
<bind style="scrollBarThumbStyle" type="REGION" key="ScrollBarThumb"/>
In this example only the second <imagePainter /> is used by Synth. Both should be used and drawn in the same order of declaration.
###@###.### 2005-06-01 00:01:46 GMT
Regression test is failing in PIT build
javax/swing/plaf/synth/6278565/bug6278565.java: Tests multi-layered painting in styles. fails