Question about CSS styling

Hervé Girod herve.girod at
Wed Feb 19 02:07:14 PST 2014


I have a question about how the CSS styling work, when a node skin use sub nodes.

For example, the Button control uses a LabeledText, but it is not necessary to setup the style of the LabeledText inside the button to set the font of the button text (it is done in the button style itself).

But a MenuBar use children menus in its substructure, which have to be styled independently. 

How is it possible (or is it possible) to detect programmatically when iterating through the children of a Styleable node which children are automatically styled according to the patent mode style, and which are styled separately ?


Sent from my iPhone

More information about the openjfx-dev mailing list