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

.root from css is not applied to Text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      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. TextCss.PNG
          TextCss.PNG
          44 kB
        2. TestTextCssLoad.java
          1 kB
        3. custom_font.css
          0.0 kB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: