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

Region.getUserAgentStylesheet() not consider under certain conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • 9
    • 8u102, 9
    • javafx

      The changes in JDK-8151756 broke my application who uses getUserAgentStylesheet().

      It looks like the stylesheet provided is only applied under certain conditions (in my case always the first time I add the Node of this type to the SG).

      I've been unable to create a stripped down version but I know my code worked in u92 and starts to break with u102.

      I can fix the problem for now by calling Platform.runLater( () -> {impl_reapplyCSS();}); so the CSS is applied if I force it to happen!

            jgiles Jonathan Giles
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: