The problem is that the context menu appears in its own popup (a window) and is not a descendent of the choice box.
There are a bunch of threads on this, search for "choicebox css". For example, in Re: ComboBox font size jsmith identifies this:
-fx-background-color: blue ;
I tried to do what you suggest but have not had positive results or have not known how.
I also checked the thread but I could not do JSmith.
Look How to style ChoiceBox (inner menu) with css this thread, and it seems that this person had problems similar to mine.
Is there another option? or can explain more how I can solve this problem?
thank you very much
Incidentally, the choice-box I am doing SceneBuilder
Edited by: biochemistry43 on 14/01/2013 02:13 PM