It kind of works, but the Difficulty item shows as a disabled option. And setting it to a separator makes it still have that line while the other one exists under.
I was also wondering if I could increase the thickness of the separator line
His solution just combines the 2 results together. the separator line under the difficulty text, and the difficulty text still having the line in between
I think it is your explanation of what you want that is the actual problem.
I think you want DIFFICULTY as a title and then the separator line.
Something like:
Difficulty
----------
Easy
Medium
Hard
But that isn’t how an option button works.
The button just lists the options, no titles, no categories.
What you want is more like a menu, like the standard FILE menu that when clicked on shows OPEN, SAVE, etc.