SplitMenuButton constructors should match MenuButton

XMLWordPrintable

    • b06
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      OpenJFX 22

      A DESCRIPTION OF THE PROBLEM :
      Currently the MenuButton implements the following non-default constructors:
      MenuButton(String text)
      MenuButton(String text, Node graphic)
      MenuButton(String text, Node graphic, MenuItem... items)

      .. while the SplitmenuButton imlements only:
      SplitMenuButton(MenuItem... items)

      Basically, these two controls are almost the same, so it would make sense for them to have similar constructors.


            Assignee:
            Andy Goryachev
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: