.text styleclass doesn't work

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • fx2.1
    • Affects Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      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

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

              Created:
              Updated:
              Resolved:
              Imported: