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

Expand Icon not working correctly with high values of "Display Scale" #90788

Open
BehzadBakhti opened this issue Apr 17, 2024 · 0 comments
Open

Comments

@BehzadBakhti
Copy link

Tested versions

  • Reproducible in Godot 4.2.1

System information

Windows 11 pro 23H2 , Godot 4.2.1

Issue description

I am working on a plugin which needs UI Editor
since my display resolution is high, I am using a high Scale value (Settings/System/Display/Scale & layout) for my primary Display (laptop):
image

when I use icons on buttons that are childe of a HBoxContainer, Icon image becomes super small

image
So the rendered result would be:

image
(see the small white circles on the right)

when I change the Display scale to smaller values (say 125 for example) the icons get bigger, Like below:
image

Steps to reproduce

  • Set primary Display Scale, on maximum value available
  • Open the reproduction project, a tab named "List" is docked on the Upper left part of Editor.
  • You can see the icons are very small.
  • Close the Godot project, change the Scale back to a small value, like 100%
  • Open the project again, icons should be well sized.

Minimal reproduction project (MRP)

Reproduction project:
Bug Repro.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants