-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Cannot select and copy godot version from the about window #24317
Comments
The "usual" way to make this work is to replace the It's a bit annoying though, so it might be worth adding support for selection in |
I imagine it might be worth to have a "selectable label" class instead, so that the common use case remains untouched, but for when selection is needed there is a more specific node that handles that (I doubt that is easy to implement in GDScript..) |
Would also be great to have this in the project manager as well |
Is this still relevant now that we have Godot version printed in the console? |
It's less needed now, but it would still be good to have more stuff that can be selected and copy pasted in the editor generally-speaking. |
RichTextLabel supports selecting too. |
I took a quick look as this (as a "junior" ticket). LineEdit has some rendering issues the copyright characters, so it didn't seem like a good fit, but I may have given up too early. I tried RichTextLabel that seems promising, but either due to the API or my inexperience with it I can't match the dynamic centering. RichTextLabel will not provide a minimum size without a fixed width. This is needed for the layout to center the logo and the label. I can hard-code the minimum width, but if it's too low it wraps and if it's too high it it pushes the logo to the left. I could update RichTextLabel to support getting the content width (without wrapping) or some way to force no wrapping when computing the width, but wanted to follow-up here first to make sure either of these suggestions makes sense since it's a bigger change. |
@strattonbrazil Thanks for looking into it 🙂 This can also be implemented by making the version label a dedicated LinkButton node, with a |
@Calinou sounds good. Here's my change for reference.
|
You could probably add an override for the stylebox to make it invisible. |
Godot version:
11d7738
Issue description:
Every time i open an issue, the Godot version is required. The current way of finding out your own Godot version is either:
Proposal:
Allow the Godot version in the "about" window for selecting and copying (or add a "copy to clipboard" button)
The text was updated successfully, but these errors were encountered: