BorderColor for button doesn't work #20231
-
I'm hoping someone can explain why my menu button ("New Game") doesn't respect the BorderColor component. I've looked at the code shown here https://bevy.org/examples/ui-user-interface/borders/ but can't figure out why it's not working for me. Here's my code:
|
Beta Was this translation helpful? Give feedback.
Answered by
tim-blackbird
Jul 21, 2025
Replies: 1 comment 3 replies
-
Node borders have a width of |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tested it and it appears there are some issues with having a
Text
component on the same entity.Try adding the
Text
component as a child of the button instead: