
# Objective Rename `JustifyText`: * The name `JustifyText` is just ugly. * It's inconsistent since no other `bevy_text` types have a `Text-` suffix, only prefix. * It's inconsistent with the other text layout enum `Linebreak` which doesn't have a prefix or suffix. Fixes #19521. ## Solution Rename `JustifyText` to `Justify`. Without other context, it's natural to assume the name `Justify` refers to text justification. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
283 B
283 B
title | pull_requests | |
---|---|---|
Renamed `JustifyText` to `Justify` |
|
JustifyText
has been renamed to Justify
.
The -Text
suffix was inconsistent with the names of other bevy_text
types and unnecessary since it's natural to assume Justify
refers to text justification.