Skip to content

Conversation

@ickshonpe
Copy link
Contributor

Objective

There was discussion in the Next Generation Scene/UI about adding BackgroundColor to Node. I don't know about that, but it reminded me that border radius isn't part of Node. All the other properties that affect a Node's shape are there, border radius should be there too.

Solution

  • Add a border_radius: BorderRadius field.
  • Remove the Component derive from BorderRadius.

Todo: Update remaining examples.

* Instead add a `border_radius: BorderRadius` field to `Node`.
@hukasu hukasu added A-UI Graphical user interfaces, styles, layouts, and widgets S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide labels Nov 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2025

It looks like your PR is a breaking change, but you didn't provide a migration guide.

Please review the instructions for writing migration guides, then expand or revise the content in the migration guides directory to reflect your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants