From 1c752af0a4cd0d2c58d61fbbd1e32ddd7b0edc5f Mon Sep 17 00:00:00 2001 From: Vincenzo Sicurella Date: Sun, 14 Jul 2024 02:10:44 -0400 Subject: [PATCH] update colour dropdown column num (wip) --- Source/components/ColourDropdownSelector.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)