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

Resizing Ninepatchrect horizontaly does not draw child label text. #73385

Closed
Bargeral opened this issue Feb 15, 2023 · 1 comment · Fixed by #73343
Closed

Resizing Ninepatchrect horizontaly does not draw child label text. #73385

Bargeral opened this issue Feb 15, 2023 · 1 comment · Fixed by #73343
Milestone

Comments

@Bargeral
Copy link

Godot version

v4.0.rc2.official [d2699dc]

System information

Windows 10

Issue description

Resizing a ninepatchrect horizontally causes child label text to not show.
Vertical resizing is fine.
If you resize it enough that label has to re-do the text wrap then text shows up.
Toggle the visibility and text will show up.
Resize the 9patch Vertically and text will show up.

I would think a comparison between the Vertical and Horizontal handling in the code would show the issue.

_.dialog_border.tscn.-.Ninepatch.Bug.-.Godot.Engine.2023-02-15.11-27-47.mp4

Steps to reproduce

In attached project, resize the 9pathc node and observe the label text behavior. Also, see attached video

Minimal reproduction project

ninepatch_bug.zip

@YuriSizov
Copy link
Contributor

This is similar to #73296 and fixed by #73343.

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.

3 participants