Hi Oli,
I think with the version you have, you cannot inline edit the templates in the UIViewSwitchContainer, you have to edit the template directly.
If you check out the latest sources from github, then this should work.
I have two templates that I want to show in succession, one after the other.
My understanding is a switch view would allow me to switch between the templates with a control? Individually, my two templates work correctly with their own sub-controllers, no issues there.
I’ve had absolutely no luck in getting either template to show in the template containing a SwitchContainer.
If I add the templates to the SwitchContainer they don’t persist (as mentioned before, I have added them to the XML as well, but didn’t work for me either).
I have attached a screenshot of my UIViewSwitchContainer settings in the editor.
I have worked on many VST2.4/3 projects before but never with the new VSTGUI. Not sure where I’m going wrong.
The problem is, that the switch control is a sub view of the switch container. That cannot work as the switch container will always replace its children with the contents of the templates.