Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text wrapping is broken if the window is resized when using the canvas_items stretch mode #55904

Closed
DrCanvas opened this issue Dec 13, 2021 · 2 comments · Fixed by #55905
Closed

Comments

@DrCanvas
Copy link

Godot version

v4.0.dev.20211210.official [21b8199]

System information

Windows 10

Issue description

For some reason text labels ignore the wrapping mode when the window is resized:

text_bug

log

Steps to reproduce

  1. Open the reproduction project.
  2. Launch the scene.
  3. Resize the window.
  4. Also try switching between fullscreen and window modes.

Minimal reproduction project

Text_bugsize.zip

@Calinou
Copy link
Member

Calinou commented Dec 13, 2021

Does this occur if you disable font oversampling in the Project Settings?

cc @bruvzg

@Calinou Calinou changed the title Text wrapping is broken if the window is resized Text wrapping is broken if the window is resized when using the canvas_items stretch mode Dec 13, 2021
@DrCanvas
Copy link
Author

Disabling font oversampling kind of worked. Fonts turn blurry, though.
I also discovered that changing Text Direction property temporarily restores text wrapping:
text_dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants