Skip to content

Text doesn't respond correctly to scale changes #16223

@NiseVoid

Description

@NiseVoid

Bevy version

Bevy 0.15.0-rc.2

What you did

I spawned a Text2d during Setup

What went wrong

The text gets a different size and position at a scale factor of 2 compared to a scale factor of 1.

Additional information

Text that is updated after the scale factor is applied seems to behave as expected.

Scale factor 1:
Image

Scale factor 2:
Image

The FPS text is updated each frame and thus avoids this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-TextRendering and layout for charactersC-BugAn unexpected or incorrect behaviorP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions