I've an issue to hide a label. I have added some labels to my UI using introjucer.
Each label has its ID set in gthe constructor (labelxx).
My code is as follow:
void MyClass::updateUnsavedLabelForIndex(int idx)
Label *tmpLabel = (Label *) findChildWithID(String::formatted("label%d", idx));
I can see the label text updated to "test", meaning the label is found using findChildWithID(), but the label is still visible.
Any tip would be greatly appreciated!