-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Names of nodes with custom icon gets truncated too early #83801
Comments
I was looking into this today, looks like the text is being truncated based on the size of the icon's texture, not the size of the icon. Should be able to get a fix working today. |
@chybby Great! I also noticed that the custom icon in the Signals list is the true image size and not scaled down to fit the category title height. Might be related? |
I don't think that's directly related. Do you mean here? Because it looks like it's working for me. I did find some other places that uses the full image size however: Recently edited objects history: In the Search Help dialog: |
Ah, that was fixed by #83447 |
Super, thanks! |
Godot version
4.2 beta 1
System information
MacOS 11.7.4
Issue description
When using a custom icon on a node (of type Node in this case) by using
@icon("path/")
the name in the Scene tree gets truncated too early, leaving a few hundred pixels empty on the right side before the icons.If I remove the icon the name is no longer truncated like this.
Steps to reproduce
Create a Node node. In code assign a custom icon. Reduce the width of the scene tree dock in the editor.
Minimal reproduction project
The text was updated successfully, but these errors were encountered: