This discussion is archived
1 Reply Latest reply: Nov 27, 2012 7:56 AM by David Grieve RSS

what "Could not resolve -color while resolving lookups for[..]" means ?!?

fabsav Newbie
Currently Being Moderated
Hi guys!
Scene builder gives to me this error:
"Could not resolve A while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet file PATH"

there's nothing wrong in my css, and everything works fine... but i can't understand this warning...

Could someone help me?

thank you!
  • 1. Re: what "Could not resolve -color while resolving lookups for[..]" means ?!?
    David Grieve Pro
    Currently Being Moderated
    Did you resolve this yet? When a "lookup" is used in a stylesheet, it has to be resolved somewhere up the ancestor chain of the node that uses the style. If the real value isn't found, then this message spits out. So the question is, why isn't the value found? It could be that it just isn't in a style that matches any of the node's parents. If you have it in the .root rule, then it should be found. The other possibility is that you are dealing with a popup. A popup gets its styles from the owner scene, but a popup doesn't have an owner scene until it is shown. There is also an issue where inline and parent styles don't convey to a popup.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points