# Objective I was working with the TextBundle component bundle because I wanted to change the position of the text that the bundle was holding. I used the transform field on the TextBundle at first because that is normally what controls the position of sprites in Bevy and that's what I was used to working with. But the actual way to change the position of text inside of a TextBundle is to use the Style's position field, not the TextBundle's transform field. Anecdotally, it was mentioned on the discord that other users have had this issue too. ## Solution I added a small doc comment to the TextBundle's transform telling users not to use it to set the position of text. And since this issue applies to the other UI bundles, I added comments there as well! |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||