diff --git a/Source/components/ColourDropdownSelector.cpp b/Source/components/ColourDropdownSelector.cpp index fd044f8..949a619 100644 --- a/Source/components/ColourDropdownSelector.cpp +++ b/Source/components/ColourDropdownSelector.cpp @@ -35,6 +35,8 @@ void ColourDropdownSelector::setColourOptions(const juce::Array &c { addItem(c.toDisplayString(false), id++); } + + findIdealComboBoxNumColumns(this, getNumItems()); } void ColourDropdownSelector::setShowDropdown(bool show)