-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Change StringName &
inspector hint to be harder to confuse with actual text
#84219
Comments
Is the text input next to the |
The The documentation screenshot should be updated |
We should change the StringName inspector to make the Alternatively, we can get rid of this hint entirely as it's not really relevant from an user perspective (when you don't manage the script, that is). |
&
inspector hint to be harder to confuse with actual text
I find it important to distinguish between similar data types ( See also:
Previously, type icons were displayed in the inspector for all properties, see #11505: |
While it's important to distinguish between data types, I believe that a tool tip is a sufficient means to achieve this goal, eliminating unnecessary interface clutter and visual embellishments. Users can easily hover their mouse over an input box if they are unsure of the data type, providing a cleaner and efficient approach. Another point is that these icons may pose readability challenges for beginners, whom these indicators aim to assist. |
This was done in: And because of multiple reasons and shouldn't be reverted |
The need to introduce a tool tip for a label that is intended to signify its purpose as a |
The tooltip isnt accessible, tooltips aren't available on all input modes and platforms, and without it you can't tell the difference |
If you don't want to use the StringName type icon (which may look a bit cryptic and out of place), change the hint to use a bold font but decrease its opacity to compensate. |
I'm not sure if we should add type icons for each property like in 2.x (?), it can really look noisy. But I think it's important to distinguish similar types without hovering over a property. For For |
I want to work on this issue, |
That is the suggestion yes! |
Started working on a pull request for this (#84949). So far, I have identified the relevant bit of code for modifying the appearance of the label and am able to set it to an arbitrary color. However, I have so far been unsuccessful in retrieving the theme-appropriate color to apply to the label. I've tried using Any advice would be appreciated! |
You are probably calling this method too early. Try doing it inside |
Thanks so much for the tip; I believe #84949 now resolves this! |
Godot version
v4.1.2.stable.official [399c9dc]
System information
MacOS 13.4.1 (c) (22F770820d)
Issue description
while I was doing the official 2D tutorial I wasn't able to set a shortcut
here is the doc:
https://docs.godotengine.org/en/stable/getting_started/first_2d_game/07.finishing-up.html#keyboard-shortcut
Here is what I see, I can't interact or edit the & sign:
Steps to reproduce
make the official tutorial
Minimal reproduction project
bugreport.zip
The text was updated successfully, but these errors were encountered: