Hey!
How can i remove the drop-arrow from an combobox?. So frustrating that the text is not total centred because of the arrow :'D
Help me please.
![]()
Hey!
How can i remove the drop-arrow from an combobox?. So frustrating that the text is not total centred because of the arrow :'D
Help me please.
![]()
You have to write your own LookAndFeel methods to draw ComboBox.
A little more detail: Create a custom LookAndFeel, assign it to the ComboBox, and override:
void LookAndFeel_V4::drawComboBox (Graphics& g, int width, int height, bool,
int, int, int, int, ComboBox& box)
You can just copy the code from this function into your override, and remove the part that draws the down arrow.
And positionComboBox in addition:
Just change in line 950 the -30 to -2
In your new LookAndFeel of course. Don’t edit the juce code