Debugging CSS

Tom Eugelink tbee at
Mon Apr 6 07:31:18 UTC 2015

On 6-4-2015 00:58, David Grieve wrote:
> On 4/5/15 3:56 AM, Tom Eugelink wrote:
>> I have another interesting behavior involving CSS. The gauge has a text representation of the value of the needle, which can be formatted using DecimalFormat. The format string can be set with a styleable property.
>> In the example this property is set, via setStyle(), to something with a unit postfix, e.g. "##0.0W" so the gauge will show watts. This works. But as soon as totally unrelated classes are removed from the gauge, the styleable property reverts to its initial value, but the style string is unchanged!
>> This behavior is introduced in 8u20, in 8u00 it works as intended.
> And in 8u40?

The behavior is still present in 8u40. It is easy to see; checkout JFXtras labs from github, open the project in you favorite IDE, and start the SimpleMetroArcGaugeTrail1 class. It's the gauge with the "W" in the text, at first :-)


More information about the openjfx-dev mailing list