|
Re: Warning from CssStyleHelper [message #1610407 is a reply to message #1610197] |
Tue, 10 February 2015 19:37 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
This is a warning of JavaFX when it is unable to calculate color values.
I've sometimes seen this messages and I know David (css guys for JavaFX)
has fixed some bugs in this regard but generally they are hard to track
down.
BTW did you know that there we have a control which allows is able to
render icon-fonts like font-awesome.
The control is part of FontIconView unfortunately we are not yet able to
ship the font-awesome support directly from Eclipse.org (we have an
outstanding CQ) but you can grab that from
https://github.com/BestSolution-at/efxclipse_addons/tree/master/bundles.
I hope that we can ship with direct support in 2.0.0!
Tom
On 10.02.15 17:26, Thomas Elskens wrote:
> Hello,
>
> This problem could be not related to efxclipse at all, but I prefer to
> make sure.
> I was trying out the FontAwesomeFX library to provide an icon for my
> EMF.Edit Itemprovider, like this :
>
>
> /**
> * @generated NOT
> */
> @Override
> public Object getImage(Object object)
> {
> //return overlayImage(object,
> getResourceLocator().getImage("full/obj16/Employer")) ;
> return overlayImage(object,
> AwesomeDude.createIconLabel(AwesomeIcon.USER)) ;
> }
>
>
> This works (the only thing needed was to place the bundle
> org.eclipse.fx.javafx on the classpath of the FontAwesomeFX dependency),
> but every time I shut down my application, I now get the following warning:
>
> Quote:
>> Feb 10, 2015 4:58:26 PM javafx.scene.CssStyleHelper calculateValue
>> WARNING: Could not resolve '-fx-text-background-color' while resolving
>> lookups for '-fx-text-fill' from rule '*.label' in stylesheet
>> jar:file:/C:/Program%20Files/Java/jdk1.8.0_40/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
>>
>
>
> The problem is the same with jdk1.8.0_31 and jdk1.8.0_40.
> Anybody an idea what this means ? And perhaps more related to this
> external FontawesomeFX library ?
> Thomas Elskens
|
|
|
|
Powered by
FUDForum. Page generated in 0.04501 seconds