I’ll be honest I’ve never used the GUI editor. In this thread @jules mentioned that the GUI editor is kept around for legacy reasons so I’m not sure if it’s the best tool to be using. Plus the GUI editor might have no idea that you’re creating a bunch of sliders with the same initialization code, and it’s never a good idea to repeat yourself.
Maybe the wrong thread for this but I don’t understand why the GUI editor would use scoped pointers and that syntax for constructing the subcomponents. The subclassed Component instance is going to keep ownership of the objects whether or not they’re scoped pointers and added to the component that way, or if they’re just members.
