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

Fix unlimited text rendering in Tree if width <= 0 #72714

Merged

Conversation

DarkMessiah
Copy link
Contributor

@DarkMessiah DarkMessiah commented Feb 4, 2023

Draws text in Tree only if it width > 0 to prevent unlimited text rendering.

Before
Godot_v4.0-beta17_win64_7lLnsIPYze.mp4
After
godot.windows.editor.dev.x86_64_9H9M0rzRrs.mp4

Bugsquad edit: Fixes #28823

@DarkMessiah DarkMessiah requested a review from a team as a code owner February 4, 2023 15:27
@KoBeWi KoBeWi added this to the 4.0 milestone Feb 4, 2023
@Riteo
Copy link
Contributor

Riteo commented Feb 9, 2023

There's still the issue of icons overlapping. Could that be fixed too or is this stuff for another PR?

@akien-mga akien-mga merged commit 29d89ca into godotengine:master Feb 10, 2023
@akien-mga
Copy link
Member

Thanks!

@DarkMessiah DarkMessiah deleted the fix-unlimited-text-in-tree branch July 15, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node names overlap on bottuns in scene tree when the width is minimum
5 participants