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

ItemList trims item text too much in specific cases #102581

Closed
RodZill4 opened this issue Feb 8, 2025 · 2 comments · Fixed by #102603
Closed

ItemList trims item text too much in specific cases #102581

RodZill4 opened this issue Feb 8, 2025 · 2 comments · Fixed by #102603

Comments

@RodZill4
Copy link
Contributor

RodZill4 commented Feb 8, 2025

Tested versions

  • Reproductible in 4.4b2 and 4.4b3
  • Not reproductible in 4.4b1 and before

System information

Godot v4.4.beta3 - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6094) - Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 threads)

Issue description

It seems item texts are trimmed way too much in item lists when a fixed icon size is specified, but actual icon textures are bigger.

Here's how it shows in Material Maker's "Add node" popup:

Image

And here's how it should look like (and does look like with beta1):

Image

It seems that enabling the "same_column_width" flag workarounds the problem.

Steps to reproduce

Just open the minimal project in Godot 4.4b3 and the problem is visible in the "2D" view.

Minimal reproduction project (MRP)

bug_itemlist.zip

@matheusmdx
Copy link
Contributor

I'll bisect this bug.

@matheusmdx
Copy link
Contributor

Bisected to #101899, @havi05

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Blocker
Development

Successfully merging a pull request may close this issue.

3 participants