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

getUserAgentStylesheet() should return a list

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 8
    • javafx

      When building custom controls good OOP principles tell us to do this:

      getStyleClass().add(DEFAULT_STYLE_CLASS);

      in the constructor. This assures that the control will have all the classes including the inherited ones.

      getUserAgentStylesheet() should work in the same way.

      Currently overriding it will totally de-include the css files on which the super classes relay on.

            dgrieve David Grieve
            awalczakijfx Adam Walczak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: