dukke / FXRibbon

Ribbon control for Java, created in JavaFX
http://www.pixelduke.com/fxribbon
244 stars 46 forks source link

Fix ribbon groups changed logic #12

Open thestrox opened 6 years ago

thestrox commented 6 years ago

While implementing this ribbon menu i found a bug that I have fixed and would like to contribute.

Adding, removing and setting ribbon groups is not working properly. There is no logic to support index adding, and setting ribbon groups. Also, separator is not the direct children of tab's hbox content rather it is of the ribbon group so, there is no need for the logic to remove separator.

With this fix, all the available add, remove and set methods are supported.