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 - Text is cut off even if there is enough space #97438

Closed
havi05 opened this issue Sep 25, 2024 · 0 comments · Fixed by #97439
Closed

ItemList - Text is cut off even if there is enough space #97438

havi05 opened this issue Sep 25, 2024 · 0 comments · Fixed by #97439

Comments

@havi05
Copy link
Contributor

havi05 commented Sep 25, 2024

Tested versions

  • Reproducible in Godot v4.3.stable.official [77dcf97]
  • Not reproducible in Godot v4.2.1.stable.official [b09f793]

System information

Godot v4.3.stable - Windows 11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 Ti (NVIDIA; 32.0.15.5612) - Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz (16 Threads)

Issue description

When changing the theme override h separation in the ItemList, the text is cut off even if it has enough space to be displayed. This also happens when creating a custom panel StyleBox and when changing the content margin left.

2024-09-25.11-53-23.mp4

Steps to reproduce

In the MRP change the value of h separation or the content margin/left under theme overrides/panel to reproduce the issue.

Minimal reproduction project (MRP)

itemlist_texttrimming_bug.zip

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