How to make the name of the option button appear when nothing is selected

Godot Version

Godot 4.2 (still wondering how to upgrade to 4.3)

Question

So I’m still working on a pong game (finishing up some stuff and making some final additions) and there was something I was trying to achieve with my option button that I’ve set aside for a while now anytime I tried making nothing selected.

This is what I’m trying to achieve:
Screenshot 2024-08-19 at 11.08.16 AM
This is what I have:
Screenshot 2024-08-19 at 11.08.35 AM
Also gotta note that my button is completely blank instead of just having the buttons name in it.

Any suggestions on what I should do to get this?

You could set your first item to disabled and separator, then the default index to 0

Oh! So the seperator was what I needed. I’ll try it out and see if it works (which it should), Thanks!

It works! Now I just need to increase the font and the Seperator size. which separator option should I use in the theme editor for the pop up menu to do this?

Don’t worry, I was able to by increasing the separator font size, and I think I can continue from here.

Thank you once again @gertkeno! :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.