Listeners & Broadcasters tutorial


#1

Hi
I’m just starting with JUCE and i was looking at the Listeners & Broadcasters tutorial.
First i cannot run the example from the JUCE website on Xcode, I get a build error…
Then I’ve tried recreating the example with a GUI APP project, but when I run it I just see an app without the Textbutton.

24

Main.cpp (4.0 KB)
MainComponent.h (1.0 KB)
MainComponent.cpp (1.5 KB)


#2

Make sure you’re setting the size of the textbutton somewhere. IIRC it defaults to a height/width of 0.


#3

Thank you, I can see the controls now. Dunno why the tutorial does not mention this at all.
:wink: