
# 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>
9 lines
283 B
Markdown
9 lines
283 B
Markdown
---
|
|
title: Renamed `JustifyText` to `Justify`
|
|
pull_requests: [19522]
|
|
---
|
|
|
|
`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.
|