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

Custom SVG icon appears too large in Quick Open (Ctrl+P) #93690

Closed
z4gon opened this issue Jun 28, 2024 · 0 comments · Fixed by #93743
Closed

Custom SVG icon appears too large in Quick Open (Ctrl+P) #93690

z4gon opened this issue Jun 28, 2024 · 0 comments · Fixed by #93743

Comments

@z4gon
Copy link

z4gon commented Jun 28, 2024

Tested versions

v4.3.beta2.official [b75f048]

System information

macOS Sonoma 14.1.1 - OpenGL API 4.1 Metal - 88 - Compatibility - Using Device: Apple - Apple M1 Pro

Issue description

The custom icon for resources appears too large in Quick Open.

Given a custom resource like this:

@icon("res://icon.svg")

class_name MyResource
extends Resource

And a .tres file created with the custom resource script like this:
Screenshot 2024-06-28 at 2 09 02 AM

When bringing up Quick Open, it looks like this:
Screenshot 2024-06-28 at 2 04 59 AM

Steps to reproduce

  1. Create a fresh project
  2. Create a custom resource script
  3. Set a custom icon for the custom resource, use the default svg that comes with the project
  4. Create a custom resource file .tres using the custom resource script created in the prev step
  5. Close and Open the editor for the icon to be visible in Inspector and Quick Open (this is a separate bug)
  6. Bring up Quick Open (Cmd+P in macos)
  7. Observe how the icon appears too large

Minimal reproduction project (MRP)

n/a

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