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

ComboBox need to be able set custom style on popup menu

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • fx2.1.1, fx2.1, 7u6
    • javafx
    • Windows 7 64bit, JDK 1.7.0_4 64bit, JavaFX 2.1.1 64bit, JavaFX 2.2 beta 18 64bit

      As of now, it seems we cannot apply a custom style for a combo popup menu using CSS.
      The only way to do it, is to overwrite .combo-box-popup .list-view {} and .combo-box-popup .list-view .list-cell {} but this sets the style globally to all ComboBox.

      If I set a custom style "my-combo-style" to a ComboBox, there should be a way to set a custom style to this combo's popup too.
      This needs to be addressed or more documentation and examples need to be posted to explain how to achieve setting a custom style to a combo's popup.

            Unassigned Unassigned
            fbouyajfx Fabrice Bouyé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported: