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.
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.
- csr for
-
JDK-8338337 SplitMenuButton constructors should match MenuButton
- Closed
- links to
-
Commit(master) openjdk/jfx/3261e940
-
Review(master) openjdk/jfx/1535