godotengine / godotengine/godot
Tree Node arrow Icons not sizing correctly
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.4 Beta 2
### System information
Windows 11
### Issue description
The included arrows for the Tree Node are incredibly small. When replacing the arrow icons, the width stays the same as before leaving the icons half off the screen. Here is an image of the original, and then one with the new arrow icons.
I even made new icons that have padding on the right. Still only shows half of the arrow.

Here is the added icons

### Steps to reproduce
Create tree and add treeitems.
No matter the size of the icon, the left border doesn't adjust.
### Minimal reproduction project (MRP)
[tree.zip](https://github.com/user-attachments/files/18663395/tree.zip)
Contributor guide
Research direction
Start with the attached tree.zip minimal reproduction on Windows 11 and inspect how Tree Nodes size and display their arrow icons. Compare the included icons with replacement icons of different widths. Done means replacement arrows are fully visible and the Tree Node border or reserved arrow area adjusts to the icon size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100