Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8128853

ChoiceBox popup styling issue

XMLWordPrintable

      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;
      }


            psomashe Parvathi Somashekar (Inactive)
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: