-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Mac and Windows
The ChoiceBoxSkin has a ContextMenu popup. I want to set the font of each radio-menu-item added to the popup thanks to CSS.
I should be able to write something like:
.myChoiceBox .context-menu .radio-menu-item {
-fx-font-size: 50px;
}
But because the context-menu is not added in the scene graph as a control child, I can't. The ChoiceBox styleclass should bet set on the ContextMenu. Doing so I could write:
.myChoiceBox .radio-menu-item {
-fx-font-size: 50px;
}
Being able to right a simple rule such as the following one would help.
.myChoiceBox .item {
-fx-font-size: 50px;
}
I should be able to write something like:
.myChoiceBox .context-menu .radio-menu-item {
-fx-font-size: 50px;
}
But because the context-menu is not added in the scene graph as a control child, I can't. The ChoiceBox styleclass should bet set on the ContextMenu. Doing so I could write:
.myChoiceBox .radio-menu-item {
-fx-font-size: 50px;
}
Being able to right a simple rule such as the following one would help.
.myChoiceBox .item {
-fx-font-size: 50px;
}