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

Node icon's size in the inspector is not adjusted #81759

Closed
KoBeWi opened this issue Sep 16, 2023 · 3 comments
Closed

Node icon's size in the inspector is not adjusted #81759

KoBeWi opened this issue Sep 16, 2023 · 3 comments

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Sep 16, 2023

Godot version

4.2 dev4

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

When you assign a custom icon to a node and then assign the node to some Node/NodePath property, the inspector will use full icon's size.
image

Steps to reproduce

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

@export var test: NodePath = "."
  1. Close and reopen scene

Minimal reproduction project

N/A

@Mickeon
Copy link
Contributor

Mickeon commented Sep 19, 2023

This has a bit of a side effect, that is at least for me, it makes it easier to tell what classes are "mine" and what aren't. It also most noticeable when you hover over a custom CanvasItem on the Viewport.
But yeah, it shouldn't happen. At least there should be a limit.

@raulsntos
Copy link
Member

@KoBeWi
Copy link
Member Author

KoBeWi commented Oct 16, 2023

Actually it was fixed by #82728, but I forgot about this issue.

@KoBeWi KoBeWi closed this as completed Oct 16, 2023
@KoBeWi KoBeWi added this to the 4.2 milestone Oct 16, 2023
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

3 participants