Is there a system function to create a component in a window with a parameter dict in vision?
Not that I'm aware of, but adding components with scripting can easily be done. Just import the component class, create an instance of the class using the class's constructor, and add the resultant component to the desired container with the container's addComponent
method. Finally, use system.gui.transform
to properly position and size the component.
1 Like