Back to Bevy

Feathers widgets moving to BSN

_release-content/migration-guides/bsn_widgets.md

0.19.0583 B
Original Source

Going forward, BSN will be the primary means to create Feathers widgets. The old spawning functions have been renamed (button is now button_bundle), and will be removed in a future release.

Some of the BSN widgets have changed slightly:

  • button no longer automatically includes flex_grow. This was originally added due to the difficulty of overriding node styles when spawning, but in BSN that's no longer a problem.
  • button, checkbox and radio now accept a caption parameter which lets you specify the label directly instead of appending them via Children.