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

.root from css is not applied to Text

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:
              Imported: