Debugging CSS

David Grieve david.grieve at
Mon Apr 6 14:25:41 UTC 2015

You should file an issue in jira for this.

On 4/6/15 3:31 AM, Tom Eugelink wrote:
> 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 :-)
> Tom

More information about the openjfx-dev mailing list