Steps to reproduce:
- Open any Project
- Navigate to Edit > Project Settings > UI Toolkit
- In the "Project Preview Theme" section open the dropdown menu for "Editor (for Editor Extension Authoring)" and select "Built-in Default Runtime Theme"
- Open the dropdown menu again
Actual results: When opening the Dropdown Menu and the "Built-in Default Runtime Theme" is selected a separation line is visible at the bottom of the Dropdown Menu options
Expected results: No separation line is used when there are no options to separate in a dropdown menu
Reproducible with versions: 6000.4.0a5, 6000.5.0a2
Not reproducible with versions: 6000.0.63f1, 6000.2.14f1, 6000.3.0f1 (No Project Settings for Project Preview Theme)
Tested on (OS): Windows 11