Simple ComboBox feature request


#1

I'm overriding the painting of comboboxes through the L+F interface, and i would like it to look a bit different if the combobox's dropdown menu is currently shown. Internally, the combox has the menuActive boolean which suits, but it is private.

 

So, if possible, either pass this as a parameter to LookAndFeel::drawComboBox or add a bool ComboBox::isMenuActive().


#2

Ok, will probably add a method to get that.


#3

Thanks Jules.

e: only thing, it doesn't repaint if the user doesn't change the current selection. I suggest adding a repaint in ComboBox::popupMenuFinishedCallback()

 

Have a happy new year.