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

.root from css is not applied to Text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • fx2.1
    • fx2.1
    • javafx
    • win7 , fx 2.1 b12

    Description

      run attached code snippet with correspondent css file.
      Note Css element .root is not applied to Text.

      This behavior changes in b12.
      In b11 .root was applied if any Control was loaded. In b12 this workaround doesn't work

      see screenshot

      Attachments

        1. custom_font.css
          0.0 kB
        2. TestTextCssLoad.java
          1 kB
        3. TextCss.PNG
          TextCss.PNG
          44 kB

        Activity

          People

            dgrieve David Grieve
            sgrinev Sergey Grinev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: