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

getUserAgentStylesheet() should return a list

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: