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

Define default style class for ImageView and MediaView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u40
    • Fix Version/s: emb-8u6, 8u20
    • Component/s: javafx
    • Labels:

      Description

      Concrete issue: It is not possible to create CSS styling for a Button with an ImageView where the disabled state is not defined by -fx-opacity but with a certain color definition.

      See https://community.oracle.com/message/11334752

      If I do this, the icon is not greyed. To be able to define custom css stylings it is necessary that all kinds of Nodes (and in my case the ImageView) get a default style class. Otherwise it is not possible to define styles with full flexibility by just using CSS.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: