0 votes

Hello! I have two questions.

I'm trying to create a UI for a piece of software I'm writing in Godot, but I'm having a bit of trouble. I kinda want it to look like the Godot editor, but I have no idea how to arrange controls nodes to do that. Is there a way to view the underlying node tree of the Godot editor?

Color picker UI element

For instance, I'd like to recreate the above color picker button (where it shows the color you've chosen on the button) but the default ColorPickerButton doesn't have that functionality.

Secondly, I don't really like the default theme of the ingame nodes, but I do like the theme of the Godot editor. Is there a way to use the theme of the Godot editor ingame?

in Engine by (12 points)

1 Answer

0 votes

Is there a way to view the underlying node tree of the Godot editor?

Other than reading the source code? No, nothing I'm aware of.

I'd like to recreate the above color picker button (where it shows the color you've chosen on the button) but the default ColorPickerButton doesn't have that functionality.

Uhm... Yes, it does?

Is there a way to use the theme of the Godot editor ingame?

Select any Control node, search for the theme-property in the inspector, create a new theme from the dropdown and click on it to open the preview window. Then click "Edit Theme" in the top right corner and select "Create From Current Editor Theme".

by (10,628 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.