Hello there,
Newbie here, still reading the docs, examples etc.
I have a basic blank instrument project running, debug is ok etc.
I’ve already make a few sliders etc. work on the interface.
Now I want to have multiple pages of controls, so afaik I need to use the TabbedComponent class.
What I’ve done so far is take the SlidersPage struct from the WidgetsDemo project and put it at the top of my PluginEditor.h - compiles fine. I also have a TabbedComponent property declared as so (in the private section):
TabbedComponent adkGuiTabs { TabbedButtonBar::Orientation::TabsAtTop };
Now in the constructor of my PluginEditor.cpp I’m doing this :
adkGuiTabs.setTitle("Demo tabs");
const auto tabColour = getLookAndFeel().findColour(ResizableWindow::backgroundColourId).darker(0.1f);
adkGuiTabs.addTab("Tab1", tabColour, new SlidersPage(), true);
addAndMakeVisible(adkGuiTabs);
… and still I can’t see the content of the tab. Any idea to help me out ?
Thanks everyone !
Olivier
