Limit ComboBox height


#1

Hi everyone,

I am writing a plugin, and there is a ComboBox which controls a vst parameter. It has around 200 items, the problem is when the ComboBox is filled it gets bigger than the plugin itself and when someone scrolls that it becomes so ugly. Is there a way to limit the maximum height/width of a ComboBox and make it scroll inside that limited size? I subclassed JUCE's combobox class and override the ShowPopup() function but did not help.

 

Thanks for your helps.


#2

Don't think we have anything to control that. Would need to be added to the popup menu options, I guess.