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

.text styleclass doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • fx2.1
    • fx2.1
    • javafx
    • javafx-sdk2.1.0-beta-b17, Windows 7 x64

      The following css:

      .text {
          -fx-fill: red;
      }

      is not applying to Text components.

      text.getStyleclass() returns empty list. Is this expected? For example, imageView also returns empty list.

        1. Bug.css
          0.2 kB
        2. Bug.java
          1 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          5 kB

            dgrieve David Grieve
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: