getUserAgentStylesheet() should return a list

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: