The combobox opens a new floating window to show its listbox - just like any other pop-up menu. There’s no way you could get it to do what you’ve drawn there.
I tried to alter the LookAndFeel (adding a virtual drawComboBox(…, Component&) as we discussed) but it was too much for me, I just started working with Juce…
The ListBox+Button works very nicely, the only problem left is what I describe here…
I would go for the solution we discussed earlier if I could work it all out…
If you insist on using a ListBox instead of a PopupMenu, then put it in its own window (i.e. heavyweight Component) so it can float over everything. You can copy the code from PopupMenu.
I just had a look at ComboBox, and adding a virtual method to create the menu would be a bit awkward because it’d also mean exposing the internal ItemInfo class, and the item list, etc… I’m not really keen to break the encapsulation there.