bevyengine / bevyengine/bevy

Multiline Text Input with `Justify::Right` or `Justify::End` with trailing whitespace at the end renders oddly

Open
#24,587 3 comments 0 reactions 0 assignees View on GitHub
A-Text A-UI C-Bug S-Blocked
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features

Main — Found while testing out #24584

## What you did

Input multiline text with trailing whitespace at the end. For example:
```
hey
how are you
```
There are extra spaces after the second line e.g. `how are you `

## What went wrong

The first line has the spacing added to it as well while rendering. They aren’t actually added, but it is rendered with extra white space appended. I would add a screenshot but Github is being annoying again.

I would expect that the spacing would be rendered next to the line for `how are you `, without any extra white line space added to the first `hey` line

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.