Bug with the attachToComponent method


#1

I have attached a Label to a ComboBox, and I want the both to be unvisible. But when I use the setVisible method, on the ComboBox AND on the Label, the Label is still visible…


#2

probably the addAndMakeVisible call on juce_Label.cpp line 167. Try swapping that to an addChildComponent() call instead, and I’ll change it to that too.


#3

OK, thanks Jules :wink:


#4